Commit 4b27fd87 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fixcomiso' into 'master'

fixed debug output and const function type



See merge request !7
parents 66142cfb 226b8f6a
Pipeline #675 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 (...)
{
......
Supports Markdown
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