From 2d8f142eafc360afffc3edaff7e96cdd74ae2b83 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Sat, 23 Apr 2016 13:54:22 +0200 Subject: [PATCH] [MaL] minor reformatting, removed duplicate virtual --- MathLib/ODE/ConcreteODESolver.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MathLib/ODE/ConcreteODESolver.h b/MathLib/ODE/ConcreteODESolver.h index 788657de8d3..e404ec166d3 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 -- GitLab