From 4f0bd557a470d47d60f49374153135422bff5289 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 18 Jul 2013 11:27:04 +0200 Subject: Previous isFinite->hasNonFinite change was broken. After discussion let's rename it to allFinite --- Eigen/src/Core/BooleanRedux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Eigen/src/Core/BooleanRedux.h') diff --git a/Eigen/src/Core/BooleanRedux.h b/Eigen/src/Core/BooleanRedux.h index e9840257c..6e37e031a 100644 --- a/Eigen/src/Core/BooleanRedux.h +++ b/Eigen/src/Core/BooleanRedux.h @@ -131,7 +131,7 @@ inline typename DenseBase::Index DenseBase::count() const /** \returns true is \c *this contains at least one Not A Number (NaN). * - * \sa hasNonFinite() + * \sa allFinite() */ template inline bool DenseBase::hasNaN() const @@ -144,7 +144,7 @@ inline bool DenseBase::hasNaN() const * \sa hasNaN() */ template -inline bool DenseBase::hasNonFinite() const +inline bool DenseBase::allFinite() const { return !((derived()-derived()).hasNaN()); } -- cgit v1.2.3