From 849fbd6766e03b68d0e0fc83976a16dc72083e89 Mon Sep 17 00:00:00 2001 From: jcarpent Date: Thu, 15 Jun 2017 16:34:55 +0200 Subject: [PATCH] [All] Uniformize naming --- include/tsid/math/utils.hpp | 2 +- unittest/contacts.cpp | 2 +- unittest/hqp_solvers.cpp | 2 +- unittest/tasks.cpp | 42 +++++++++++++++++------------------ unittest/tsid-formulation.cpp | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) 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"<"<