Index: mttroot/mtt/lib/cc/mtt_HJ_Solver.hh ================================================================== --- mttroot/mtt/lib/cc/mtt_HJ_Solver.hh +++ mttroot/mtt/lib/cc/mtt_HJ_Solver.hh @@ -18,10 +18,12 @@ { static_ptr = this; VARS = nyz; }; static double f (double tryUi[], int nyz); + ~HJ_Solver (void) {}; + protected: void Solve (void); Index: mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc ================================================================== --- mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc +++ mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc @@ -24,11 +24,11 @@ static int limit_errors; static int unknown_errors; NLFunc fcn(&Hybrd_Solver::f_hybrd); NLEqn eqn(Solver::_ui,fcn); - // eqn.set_tolerance(0.01); + eqn.set_tolerance(0.000001); Solver::_ui = eqn.solve(info); switch (info) { case 1: Index: mttroot/mtt/lib/cc/mtt_Hybrd_Solver.hh ================================================================== --- mttroot/mtt/lib/cc/mtt_Hybrd_Solver.hh +++ mttroot/mtt/lib/cc/mtt_Hybrd_Solver.hh @@ -20,10 +20,12 @@ static_ptr = this; } static ColumnVector f_hybrd (const ColumnVector &tryUi); + + ~Hybrd_Solver (void) {}; protected: void Solve (void); Index: mttroot/mtt/lib/cc/mtt_Reduce_Solver.hh ================================================================== --- mttroot/mtt/lib/cc/mtt_Reduce_Solver.hh +++ mttroot/mtt/lib/cc/mtt_Reduce_Solver.hh @@ -18,8 +18,10 @@ : Solver (ae,npar,nu,nx,ny,nyz) { ; }; void Solve (void); + + ~Reduce_Solver (void) {}; }; Index: mttroot/mtt/lib/cc/mtt_Solver.hh ================================================================== --- mttroot/mtt/lib/cc/mtt_Solver.hh +++ mttroot/mtt/lib/cc/mtt_Solver.hh @@ -29,10 +29,12 @@ const double &t, const ColumnVector &par); ColumnVector eval (const ColumnVector &ui); + + virtual ~Solver (void) {}; protected: virtual void Solve (void) = 0;