Fixed bug reversing result of is_nan(), causing normals vectors to sometime be exported as 0 0 0. Fixes #1317
This commit is contained in:
parent
728a114594
commit
167b8825f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue