We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed521e commit 73d9800Copy full SHA for 73d9800
src/polysolve/nonlinear/Problem.hpp
@@ -30,8 +30,8 @@ namespace polysolve::nonlinear
30
virtual void gradient(const TVector &x, TVector &gradv) override = 0;
31
virtual void hessian(const TVector &x, THessian &hessian) = 0;
32
33
- virtual bool is_step_valid(const TVector &x0, const TVector &x1) const { return true; }
34
- virtual double max_step_size(const TVector &x0, const TVector &x1) const { return 1; }
+ virtual bool is_step_valid(const TVector &x0, const TVector &x1) { return true; }
+ virtual double max_step_size(const TVector &x0, const TVector &x1) { return 1; }
35
36
virtual void line_search_begin(const TVector &x0, const TVector &x1) {}
37
virtual void line_search_end() {}
0 commit comments