Commit 1d1b3fbc authored by David Bommes's avatar David Bommes
Browse files

resolved warnings

parent 392a0c6b
Pipeline #2994 passed with stage
in 6 minutes and 4 seconds
......@@ -47,7 +47,7 @@ public:
// initial value where the optimization should start from
virtual void initial_x(double* _x)
{
for(unsigned int i=0; i<this->n_unknowns(); ++i)
for( int i=0; i<this->n_unknowns(); ++i)
_x[i] = x_[i];
}
......@@ -85,7 +85,7 @@ public:
Eigen::VectorXd& x() { return x_;}
// advanced properties
virtual bool constant_hessian() { return true; }
virtual bool constant_hessian() const { return true; }
void set_A(const SMatrixNP& _A)
{
......
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