From 38fbd5fe7ed6f462d73f731e65b388eacba584e0 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 25 Oct 2011 12:42:20 +0000 Subject: [PATCH] adapt to changes in the interface of class Rotation. The exp method with three double arguments is no more [[Imported from SVN: r8030]] --- test/fdcheck.hh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/fdcheck.hh b/test/fdcheck.hh index 9184cc5a..342d8752 100644 --- a/test/fdcheck.hh +++ b/test/fdcheck.hh @@ -10,10 +10,12 @@ void infinitesimalVariation(RigidBodyMotion<3>& c, double eps, int i) { if (i<3) c.r[i] += eps; - else - c.q = c.q.mult(Rotation<3,double>::exp((i==3)*eps, - (i==4)*eps, - (i==5)*eps)); + else { + Dune::FieldVector<double,3> axial(0); + axial[i-3] = eps; + SkewMatrix<double,3> variation(axial); + c.q = c.q.mult(Rotation<3,double>::exp(variation)); + } } template <class GridType> -- GitLab