From 6fd49b820481c57ac15e150a83eb6c8180642415 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 21 Mar 2006 17:41:59 +0000 Subject: [PATCH] more constructors [[Imported from SVN: r755]] --- src/quaternion.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/quaternion.hh b/src/quaternion.hh index 0e97c3ab..7728d625 100644 --- a/src/quaternion.hh +++ b/src/quaternion.hh @@ -9,6 +9,9 @@ class Quaternion : public Dune::FieldVector<T,4> { public: + Quaternion() {} + Quaternion(const Dune::FieldVector<T,4>& other) : Dune::FieldVector<T,4>(other) {} + /** \brief The exponential map from \f$ \mathfrak{so}(3) \f$ to \f$ SO(3) \f$ */ static Quaternion<T> exp(const T& v0, const T& v1, const T& v2) { -- GitLab