Skip to content
Snippets Groups Projects
Commit 3382cf02 authored by Ian Bell's avatar Ian Bell
Browse files

Are references needed maybe?

parent 77270821
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ void add_multifluid_mutant_invariant(py::module& m) {
m.def("build_multifluid_mutant_invariant", &build_multifluid_mutant_invariant<MultiFluid>);
// Typedef for mutant with the invariant reducing function
using Mutant = std::invoke_result_t<decltype(build_multifluid_mutant_invariant<MultiFluid>), MultiFluid, nlohmann::json>;
using Mutant = std::invoke_result_t<decltype(build_multifluid_mutant_invariant<MultiFluid>), std::ref(MultiFluid), std::ref(nlohmann::json)>;
// Define python wrapper of the mutant class
auto wMutant = py::class_<Mutant>(m, "MultiFluidMutantInvariant")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment