diff --git a/src/language/modules/MeshModule.cpp b/src/language/modules/MeshModule.cpp index 0803f1420724fefa167bc51ed2b8e7bb101a9a73..b9a65729637128081a7206ad6fa5d98ad95e9978 100644 --- a/src/language/modules/MeshModule.cpp +++ b/src/language/modules/MeshModule.cpp @@ -18,11 +18,11 @@ template <typename T> class MeshTransformation; -template <typename OutputType, typename... InputType> -class MeshTransformation<OutputType(InputType...)> : public PugsFunctionAdapter<OutputType(InputType...)> +template <typename OutputType, typename InputType> +class MeshTransformation<OutputType(InputType)> : public PugsFunctionAdapter<OutputType(InputType)> { static constexpr size_t Dimension = OutputType::Dimension; - using Adapter = PugsFunctionAdapter<OutputType(InputType...)>; + using Adapter = PugsFunctionAdapter<OutputType(InputType)>; public: static inline std::shared_ptr<Mesh<Connectivity<Dimension>>> @@ -36,7 +36,7 @@ class MeshTransformation<OutputType(InputType...)> : public PugsFunctionAdapter< Array<ExecutionPolicy> context_list = Adapter::getContextList(expression); - NodeValue<const OutputType> given_xr = given_mesh.xr(); + NodeValue<const InputType> given_xr = given_mesh.xr(); NodeValue<OutputType> xr(given_mesh.connectivity()); using execution_space = typename Kokkos::DefaultExecutionSpace::execution_space;