1234567891011121314151617181920 |
- #include "any_of.h"
- #include <Eigen/Core>
- template <typename Mat>
- IGL_INLINE bool igl::any_of(const Mat & S)
- {
- return std::any_of(S.data(),S.data()+S.size(),[](bool s){return s;});
- }
- #ifdef IGL_STATIC_LIBRARY
- template bool igl::any_of<Eigen::Matrix<int, -1, 1, 0, -1, 1> >(Eigen::Matrix<int, -1, 1, 0, -1, 1> const&);
- #endif
|