IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39369


Ignore:
Timestamp:
Feb 23, 2016, 5:36:13 AM (10 years ago)
Author:
eugene
Message:

quiet error/warning messages from gaussj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/src/gaussj.c

    r38553 r39369  
    5757    for (row = 0; row < N; row++) {
    5858      if (!finite(A[row][diag])) {
    59         fprintf (stderr, "infinity\n");
     59        push_error ("infinity");
    6060        goto escape;
    6161      }
     
    9090    // if pivot[maxcol] is set, we have already done this row: this implies a singular matrix
    9191    if (pivot[maxcol]) {
    92       fprintf (stderr, "singular\n");
     92      push_error ("singular");
    9393      goto escape;
    9494    }
     
    103103    colIndex[diag] = maxcol;
    104104    if (A[maxcol][maxcol] == 0.0) {
    105       fprintf (stderr, "zero pivot\n");
     105      push_error ("zero pivot");
    106106      goto escape;
    107107    }
     
    143143
    144144    if (fabs(growth) > MAX_RANGE) {
    145       fprintf (stderr, "max range\n");
     145      push_error ("max range");
    146146# if (VERY_VERBOSE)
    147147      fprintf (stderr, "full A matrix:\n");
Note: See TracChangeset for help on using the changeset viewer.