Changeset 12695 for branches/rel-1_0/psLib/src/math/psMatrix.c
- Timestamp:
- Mar 30, 2007, 10:25:50 AM (19 years ago)
- File:
-
- 1 edited
-
branches/rel-1_0/psLib/src/math/psMatrix.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel-1_0/psLib/src/math/psMatrix.c
r12337 r12695 22 22 * @author Andy Becker, University of Washington (SVD). 23 23 * 24 * @version $Revision: 1.47.2. 2$ $Name: not supported by cvs2svn $25 * @date $Date: 2007-03- 08 23:21:39$24 * @version $Revision: 1.47.2.3 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2007-03-30 20:25:50 $ 26 26 * 27 27 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 348 348 int solver_failed = gsl_linalg_LU_solve(a_gsl, perm_gsl, b_gsl, x_gsl); 349 349 350 for (int i = 0; i < b->n&& !solver_failed; i++) { // gsl_linalg_LU_solve doesn't always catch errors351 if (!gsl_finite( b_gsl->data[i])) {350 for (int i = 0; i < x_gsl->size && !solver_failed; i++) { // gsl_linalg_LU_solve doesn't always catch errors 351 if (!gsl_finite(x_gsl->data[i])) { 352 352 solver_failed = 1; 353 353 }
Note:
See TracChangeset
for help on using the changeset viewer.
