diff --git a/Tests/NumLib/NaturalNodeCoordinates.cpp b/Tests/NumLib/NaturalNodeCoordinates.cpp index b87de1dbc52e0715f9f3af49741bb6450944606c..31e2c8680e79f0e3e9b1fafdf2549a16232d3315 100644 --- a/Tests/NumLib/NaturalNodeCoordinates.cpp +++ b/Tests/NumLib/NaturalNodeCoordinates.cpp @@ -25,7 +25,8 @@ using Node = MeshLib::Node; template <typename ShapeFunction, int GlobalDim> bool test(MeshLib::Element const& element) { - using ShapeMatricesType = ShapeMatrixPolicyType<ShapeFunction, GlobalDim>; + using ShapeMatricesType = + ShapeMatrixPolicyType<ShapeFunction, ShapeFunction::DIM>; // Test if the cast is possible. bool const dynamic_cast_failed =