diff --git a/MathLib/ODE/ConcreteODESolver.h b/MathLib/ODE/ConcreteODESolver.h index 788657de8d395e4858ad506d5e71f02a90c71560..e404ec166d3bfd1c34c96bc705fe8e905265c3d2 100644 --- a/MathLib/ODE/ConcreteODESolver.h +++ b/MathLib/ODE/ConcreteODESolver.h @@ -67,8 +67,8 @@ public: Implementation::setTolerance(abstol, reltol); } - virtual void setIC(const double t0, - std::initializer_list<double> const& y0) override + void setIC(const double t0, + std::initializer_list<double> const& y0) override { assert(y0.size() == NumEquations); Implementation::setIC(t0, y0.begin()); @@ -87,7 +87,6 @@ public: { return MappedConstVector<NumEquations>{Implementation::getSolution()}; } - double getTime() const override { return Implementation::getTime(); } Eigen::Matrix<double, NumEquations, 1, Eigen::ColMajor> getYDot( const double t, const MappedConstVector<NumEquations>& y) const override