IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2009, 5:20:54 AM (17 years ago)
Author:
eugene
Message:

use c99 macro isfinite rather than finite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMatrix.c

    r24085 r24122  
    526526            // search for the next pivot
    527527            for (int row = 0; row < nSquare; row++) {
    528                 if (!finite(A[row][diag])) goto escape;
     528                if (!isfinite(A[row][diag])) goto escape;
    529529
    530530                // if we have already operated on this row (pivot[row] is true), skip it
     
    599599            // search for the next pivot
    600600            for (int row = 0; row < nSquare; row++) {
    601                 if (!finite(A[row][diag])) goto escape;
     601                if (!isfinite(A[row][diag])) goto escape;
    602602
    603603                // if we have already operated on this row (pivot[row] is true), skip it
Note: See TracChangeset for help on using the changeset viewer.