IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.data/gaussj.c

    r3104 r7917  
    2020    for (j = 0; j < n; j++) {
    2121      if (!finite(a[i][j])) {
    22         fprintf (stderr, "GAUSSJ: NaN\n");
     22        gprint (GP_ERR, "GAUSSJ: NaN\n");
    2323        goto escape;
    2424      }
     
    3434          else
    3535            if (ipiv[k] > 1) {
    36               fprintf (stderr, "GAUSSJ: Singular Matrix! (1)\n");
     36              gprint (GP_ERR, "GAUSSJ: Singular Matrix! (1)\n");
    3737              goto escape;
    3838            }
     
    5050    indxc[i] = icol;
    5151    if (a[icol][icol] == 0.0) {
    52       fprintf (stderr, "GAUSSJ: Singular Matrix! (2)\n");
     52      gprint (GP_ERR, "GAUSSJ: Singular Matrix! (2)\n");
    5353      goto escape;
    5454    }
     
    108108    for (j = 0; j < n; j++) {
    109109      if (!finite(a[i][j])) {
    110         fprintf (stderr, "GAUSSJ: NaN\n");
     110        gprint (GP_ERR, "GAUSSJ: NaN\n");
    111111        goto fescape;
    112112      }
     
    122122          else
    123123            if (ipiv[k] > 1) {
    124               fprintf (stderr, "GAUSSJ: Singular Matrix! (1)\n");
     124              gprint (GP_ERR, "GAUSSJ: Singular Matrix! (1)\n");
    125125              goto fescape;
    126126            }
     
    138138    indxc[i] = icol;
    139139    if (a[icol][icol] == 0.0) {
    140       fprintf (stderr, "GAUSSJ: Singular Matrix! (2)\n");
     140      gprint (GP_ERR, "GAUSSJ: Singular Matrix! (2)\n");
    141141      goto fescape;
    142142    }
Note: See TracChangeset for help on using the changeset viewer.