Fixed bug reversing result of is_nan(), causing normals vectors to sometime be exported as 0 0 0. Fixes #1317

master
Marius Kintel 2015-04-21 01:33:25 -04:00
parent 728a114594
commit 167b8825f7
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ template<typename Derived> bool is_finite(const Eigen::MatrixBase<Derived>& x) {
}
template<typename Derived> bool is_nan(const Eigen::MatrixBase<Derived>& x) {
return ((x.array() == x.array())).all();
return !((x.array() == x.array())).all();
}
BoundingBox operator*(const Transform3d &m, const BoundingBox &box);