Rename isfinite to is_finite to avoid name conflicts.

This commit is contained in:
James Goppert
2017-02-03 18:15:43 -05:00
parent 63aea23f9e
commit 843be9418b
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ namespace matrix
{
template<typename Type>
bool isfinite(Type x) {
bool is_finite(Type x) {
#if defined (__PX4_NUTTX) || defined (__PX4_QURT)
return PX4_ISFINITE(x);
#else
@@ -25,7 +25,7 @@ bool isfinite(Type x) {
template<typename Type>
Type wrap_pi(Type x)
{
if (!isfinite(x)) {
if (!is_finite(x)) {
return x;
}