Fix bug #480: workaround the Android NDK defining isfinite as a macro

This commit is contained in:
Gael Guennebaud
2012-07-05 17:22:25 +02:00
parent 23df2eed46
commit 5dbdde0420
2 changed files with 2 additions and 2 deletions

View File

@@ -370,7 +370,7 @@ template<> struct ldlt_inplace<Lower>
for (Index j = 0; j < size; j++)
{
// Check for termination due to an original decomposition of low-rank
if (!isfinite(alpha))
if (!(isfinite)(alpha))
break;
// Update the diagonal terms