From d193296f2255ed77786430096584ffc36cd410d8 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 6 Feb 2012 06:38:20 +0000
Subject: [PATCH] fix two places where 2d-grids where hardwired

[[Imported from SVN: r8399]]
---
 test/cosseratenergytest.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/cosseratenergytest.cc b/test/cosseratenergytest.cc
index 7800582e..a3b2042b 100644
--- a/test/cosseratenergytest.cc
+++ b/test/cosseratenergytest.cc
@@ -251,7 +251,7 @@ int main(int argc, char** argv) try
         for (int j=0; j<domainDim+1; j++)
             corners[j].q = testPoints[index[j]];
 
-        testDerivativeOfRotationMatrix<2>(corners);
+        testDerivativeOfRotationMatrix<domainDim>(corners);
                 
     }
     
@@ -259,7 +259,7 @@ int main(int argc, char** argv) try
     //   Test invariance of the energy functional under rotations
     //////////////////////////////////////////////////////////////////////////////////////
     
-    testFrameInvariance<2>();
+    testFrameInvariance<domainDim>();
     
 } catch (Exception e) {
 
-- 
GitLab