From 19d850395c679eb32ef5283fbb64c6756c75c414 Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Mon, 11 Oct 2021 08:43:21 +0200
Subject: [PATCH] [UnitTest] Fixed the bug in NumLibNaturalCoordinates

---
 Tests/NumLib/NaturalNodeCoordinates.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Tests/NumLib/NaturalNodeCoordinates.cpp b/Tests/NumLib/NaturalNodeCoordinates.cpp
index b87de1dbc52..31e2c8680e7 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 =
-- 
GitLab