edm::isFinite makes more sense (a nan may never show up with fast math)