diff --git a/include/tsid/math/utils.hpp b/include/tsid/math/utils.hpp index aa002071..46d9f328 100644 --- a/include/tsid/math/utils.hpp +++ b/include/tsid/math/utils.hpp @@ -137,7 +137,7 @@ namespace tsid int &rows, int &cols); template - inline bool is_finite(const Eigen::MatrixBase& x) + inline bool isFinite(const Eigen::MatrixBase& x) { return ( (x - x).array() == (x - x).array()).all(); } diff --git a/unittest/contacts.cpp b/unittest/contacts.cpp index 044d6e89..eb32576f 100644 --- a/unittest/contacts.cpp +++ b/unittest/contacts.cpp @@ -34,7 +34,7 @@ using namespace std; BOOST_AUTO_TEST_SUITE ( BOOST_TEST_MODULE ) -#define REQUIRE_FINITE(A) BOOST_REQUIRE_MESSAGE(is_finite(A), #A<<": "< #define CHECK_LESS_THAN(A,B) BOOST_CHECK_MESSAGE(A"<"<