Skip to content

Commit

Permalink
#1863 make CasadiFunction constructor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Mar 31, 2022
1 parent 00a2e68 commit 9b6ac61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybamm/solvers/c_solvers/idaklu_casadi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using Sparsity = casadi::Sparsity;

class CasadiFunction {
public:
CasadiFunction(const Function &f):m_func(f) {
explicit CasadiFunction(const Function &f):m_func(f) {
size_t sz_arg;
size_t sz_res;
size_t sz_iw;
Expand Down

0 comments on commit 9b6ac61

Please sign in to comment.