Changeset 10548 for trunk/psLib/src/math/psMinimizePolyFit.c
- Timestamp:
- Dec 8, 2006, 1:37:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMinimizePolyFit.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMinimizePolyFit.c
r9730 r10548 10 10 * @author EAM, IfA 11 11 * 12 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-1 0-24 22:52:56$12 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-12-08 11:37:31 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 855 855 } 856 856 857 stats = psVectorStats(stats, resid, NULL, mask, maskValue); 858 if (stats == NULL) { 857 if (!psVectorStats(stats, resid, NULL, mask, maskValue)) { 859 858 psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector. Returning NULL.\n"); 860 859 psFree(resid) … … 1304 1303 } 1305 1304 1306 stats = psVectorStats(stats, resid, NULL, mask, maskValue); 1307 if (stats == NULL) { 1305 if (!psVectorStats(stats, resid, NULL, mask, maskValue)) { 1308 1306 psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector. Returning NULL.\n"); 1309 1307 psFree(resid) … … 1835 1833 } 1836 1834 1837 stats = psVectorStats(stats, resid, NULL, mask, maskValue); 1838 if (stats == NULL) { 1835 if (!psVectorStats(stats, resid, NULL, mask, maskValue)) { 1839 1836 psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector. Returning NULL.\n"); 1840 1837 psFree(resid) … … 2412 2409 } 2413 2410 2414 stats = psVectorStats (stats, resid, NULL, mask, maskValue); 2415 if (stats == NULL) { 2411 if (!psVectorStats (stats, resid, NULL, mask, maskValue)) { 2416 2412 psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector. Returning NULL.\n"); 2417 2413 psFree(resid)
Note:
See TracChangeset
for help on using the changeset viewer.
