diff options
author | 2009-01-05 18:33:39 +0000 | |
---|---|---|
committer | 2009-01-05 18:33:39 +0000 | |
commit | 9c8a653c0b47e6c2b19f79f3e81d576a6040f673 (patch) | |
tree | 869ed3817e62a2e0d34f5a461259517300c4742c | |
parent | 85515054365e62c757cc5395619f73652c4556fa (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!
-rw-r--r-- | Eigen/src/Geometry/AlignedBox.h | 2 |
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) {} |