From a81b2a9b809f79fe86a456edd02363fa2589a727 Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Thu, 26 Aug 2021 18:49:28 -0400 Subject: [PATCH] Maybe I fixed the issue with Mutant? --- interface/multifluid_mutant.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/interface/multifluid_mutant.cpp b/interface/multifluid_mutant.cpp index 075e973..f0b6484 100644 --- a/interface/multifluid_mutant.cpp +++ b/interface/multifluid_mutant.cpp @@ -38,12 +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>; - - // The reducing function type and the departure function types are the same - // as the base model - using RedType = std::decay_t<decltype(Mutant::redfunc)>; - using DepType = std::decay_t<decltype(MultiFluid::dep)>; + using Mutant = std::invoke_result_t<build_multifluid_mutant_invariant<MultiFluid>, MultiFluid, nlohmann::json>; // Define python wrapper of the mutant class auto wMutant = py::class_<Mutant>(m, "MultiFluidMutantInvariant") -- GitLab