Commit 226b8f6a authored by David Bommes's avatar David Bommes
Browse files

fixed debug output and const function type

parent 66142cfb
Pipeline #674 passed with stage
......@@ -199,7 +199,7 @@ store_result ( const double* _x )
bool
LeastSquaresProblem::
constant_hessian()
constant_hessian() const
{
for(unsigned int i=0; i<terms_.size(); ++i)
{
......
......@@ -65,7 +65,7 @@ public:
virtual void store_result ( const double* _x );
// advanced properties
virtual bool constant_hessian();
virtual bool constant_hessian() const;
// advanced usage
void add_to_gradient ( const double* _x, double* _g, const double _c);
......
......@@ -203,7 +203,7 @@ MISolver::solve_cplex(
}
catch (IloException& e)
{
DEB_warning(2, "CPLEX Concert exception caught: " << e )
DEB_warning(2, "CPLEX Concert exception caught: " << e.getMessage() )
}
catch (...)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment