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

[MaL] unified template param order

parent da755d97
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ std::unique_ptr<OdeSolver<NumEquations, FunctionArguments...>> createOdeSolver(
*
* This way the \c Implementation does not need to be templated.
*/
template <unsigned NumEquations, typename Implementation,
template <typename Implementation, unsigned NumEquations,
typename... FunctionArguments>
class ConcreteOdeSolver final
: public OdeSolver<NumEquations, FunctionArguments...>,
......@@ -122,7 +122,7 @@ std::unique_ptr<OdeSolver<NumEquations, FunctionArguments...>> createOdeSolver(
{
#ifdef CVODE_FOUND
return std::unique_ptr<OdeSolver<NumEquations, FunctionArguments...>>(
new ConcreteOdeSolver<NumEquations, CVodeSolver, FunctionArguments...>(
new ConcreteOdeSolver<CVodeSolver, NumEquations, FunctionArguments...>(
config));
#else
return nullptr;
......
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