From 9c8a653c0b47e6c2b19f79f3e81d576a6040f673 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 5 Jan 2009 18:33:39 +0000 Subject: gaaaaaaaaaaaaaaaaaah can't believe that 3 people wasted so much time because of a missing & !!!!! and this time MSVC didn't catch it so it was really copying the vector on the stack at an unaligned location! --- Eigen/src/Geometry/AlignedBox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen') diff --git a/Eigen/src/Geometry/AlignedBox.h b/Eigen/src/Geometry/AlignedBox.h index d33cb7525..1ff5774da 100644 --- a/Eigen/src/Geometry/AlignedBox.h +++ b/Eigen/src/Geometry/AlignedBox.h @@ -57,7 +57,7 @@ public: { setNull(); } /** Constructs a box with extremities \a _min and \a _max. */ - inline AlignedBox(const VectorType& _min, const VectorType _max) : m_min(_min), m_max(_max) {} + inline AlignedBox(const VectorType& _min, const VectorType& _max) : m_min(_min), m_max(_max) {} /** Constructs a box containing a single point \a p. */ inline explicit AlignedBox(const VectorType& p) : m_min(p), m_max(p) {} -- cgit v1.2.3