aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-01-05 18:33:39 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-01-05 18:33:39 +0000
commit9c8a653c0b47e6c2b19f79f3e81d576a6040f673 (patch)
tree869ed3817e62a2e0d34f5a461259517300c4742c /Eigen
parent85515054365e62c757cc5395619f73652c4556fa (diff)
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!
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Geometry/AlignedBox.h2
1 files changed, 1 insertions, 1 deletions
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) {}