From e6d8d78336c89e7b78c8e60e224910a6bb5996b5 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 19 Apr 2009 08:47:24 +0000
Subject: [PATCH] export type used for coordinates

[[Imported from SVN: r4052]]
---
 src/rigidbodymotion.hh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/rigidbodymotion.hh b/src/rigidbodymotion.hh
index 58e0adc8..1017e0da 100644
--- a/src/rigidbodymotion.hh
+++ b/src/rigidbodymotion.hh
@@ -5,11 +5,14 @@
 #include "rotation.hh"
 
 /** \brief A rigid-body motion in, R^d, i.e., a member of SE(d) */
-template <int dim, class ctype=double>
+template <int dim, class T=double>
 struct RigidBodyMotion
 {
     /** \brief Type of an infinitesimal rigid body motion */
-    typedef Dune::FieldVector<ctype, dim + Rotation<dim,ctype>::TangentVector::size> TangentVector;
+    typedef Dune::FieldVector<T, dim + Rotation<dim,T>::TangentVector::size> TangentVector;
+
+    /** \brief The type used for coordinates */
+    typedef T ctype;
 
     /** \brief The exponential map from a given point $p \in SE(d)$. */
     static RigidBodyMotion<dim,ctype> exp(const RigidBodyMotion<dim,ctype>& p, const TangentVector& v) {
-- 
GitLab