Skip to content
Snippets Groups Projects
Commit 910bcf66 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[MaL] removed unneeded typedefs

parent 2d8f142e
No related branches found
No related tags found
No related merge requests found
......@@ -45,11 +45,8 @@ class ConcreteODESolver final : public ODESolver<NumEquations>,
private Implementation
{
public:
using Interface = ODESolver<NumEquations>;
using Function = typename Interface::Function;
using JacobianFunction = typename Interface::JacobianFunction;
void setFunction(Function f, JacobianFunction df) override
void setFunction(MathLib::Function<NumEquations> f,
MathLib::JacobianFunction<NumEquations> df) override
{
Implementation::setFunction(
std::unique_ptr<detail::FunctionHandlesImpl<NumEquations>>{
......
......@@ -27,10 +27,8 @@ template <unsigned NumEquations>
class ODESolver
{
public:
using Function = MathLib::Function<NumEquations>;
using JacobianFunction = MathLib::JacobianFunction<NumEquations>;
virtual void setFunction(Function f, JacobianFunction df) = 0;
virtual void setFunction(MathLib::Function<NumEquations> f,
MathLib::JacobianFunction<NumEquations> df) = 0;
virtual void setTolerance(const std::array<double, NumEquations>& abstol,
const double reltol) = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment