diff options
author | 2010-02-11 09:24:29 +0100 | |
---|---|---|
committer | 2010-02-11 09:24:29 +0100 | |
commit | 48f59806698037fdf0517c3bbe19e4f50865d655 (patch) | |
tree | d4f1bc026d352bce7f8adcde30fbad80d44c3a04 /Eigen/src | |
parent | 602778ea26ae345b40958728da918fbd0ba23dad (diff) |
fix compilation (cwise and epsilon)
Diffstat (limited to 'Eigen/src')
-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 c5510e5ad..b5b40a82d 100644 --- a/Eigen/src/Geometry/AlignedBox.h +++ b/Eigen/src/Geometry/AlignedBox.h @@ -100,7 +100,7 @@ EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_AmbientDim) inline void setNull() { setEmpty(); } /** \returns true if the box is empty. */ - inline bool isEmpty() const { return (m_min.cwise() > m_max).any(); } + inline bool isEmpty() const { return (m_min.array() > m_max.array()).any(); } /** Makes \c *this an empty box. */ inline void setEmpty() |