SIGFPE when using allFinite with INF
This little example gives a SIGFPE
Eigen::Matrix3f test = Eigen::Matrix3f::Zero();
test(0,0) = INFINITY;
test.allFinite();
The whole point why I try to use allFinite() is to prevent SIGFPE. It happens inside of:
(derived()-derived()).hasNaN()
When he is calculating INF - INF.
Am I using the wrong function or is this a bug? I m using Eigen 3.3.5