Commit 0b2d341011b1709807c7ca94d514382486b95447

Authored by Jürgen Knödlseder
1 parent c3eaa48b

Declare value() method const.

Showing 1 changed file with 1 additions and 1 deletions
pyext/GOptimizerFunction.i
... ... @@ -44,7 +44,7 @@ public:
44 44  
45 45 // Virtual methods
46 46 virtual void eval(const GOptimizerPars& pars) = 0;
47   - virtual double value(void) = 0;
  47 + virtual double value(void) const = 0;
48 48 virtual GVector* gradient(void) = 0;
49 49 virtual GMatrixSparse* curvature(void) = 0;
50 50 };
... ...