diff --git a/test/cosseratenergytest.cc b/test/cosseratenergytest.cc index 7800582e861e1a6887c8484715d3aa43e15f8d19..a3b2042b567516febdc07dbd28bcf960c8408eb9 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) {