Changeset 7917 for trunk/Ohana/src/opihi/lib.data/gaussj.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.data/gaussj.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.data/gaussj.c
r3104 r7917 20 20 for (j = 0; j < n; j++) { 21 21 if (!finite(a[i][j])) { 22 fprintf (stderr, "GAUSSJ: NaN\n");22 gprint (GP_ERR, "GAUSSJ: NaN\n"); 23 23 goto escape; 24 24 } … … 34 34 else 35 35 if (ipiv[k] > 1) { 36 fprintf (stderr, "GAUSSJ: Singular Matrix! (1)\n");36 gprint (GP_ERR, "GAUSSJ: Singular Matrix! (1)\n"); 37 37 goto escape; 38 38 } … … 50 50 indxc[i] = icol; 51 51 if (a[icol][icol] == 0.0) { 52 fprintf (stderr, "GAUSSJ: Singular Matrix! (2)\n");52 gprint (GP_ERR, "GAUSSJ: Singular Matrix! (2)\n"); 53 53 goto escape; 54 54 } … … 108 108 for (j = 0; j < n; j++) { 109 109 if (!finite(a[i][j])) { 110 fprintf (stderr, "GAUSSJ: NaN\n");110 gprint (GP_ERR, "GAUSSJ: NaN\n"); 111 111 goto fescape; 112 112 } … … 122 122 else 123 123 if (ipiv[k] > 1) { 124 fprintf (stderr, "GAUSSJ: Singular Matrix! (1)\n");124 gprint (GP_ERR, "GAUSSJ: Singular Matrix! (1)\n"); 125 125 goto fescape; 126 126 } … … 138 138 indxc[i] = icol; 139 139 if (a[icol][icol] == 0.0) { 140 fprintf (stderr, "GAUSSJ: Singular Matrix! (2)\n");140 gprint (GP_ERR, "GAUSSJ: Singular Matrix! (2)\n"); 141 141 goto fescape; 142 142 }
Note:
See TracChangeset
for help on using the changeset viewer.
