Changeset 3002
- Timestamp:
- Jan 14, 2005, 1:40:24 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 3 edited
-
dataManip/psFunctions.c (modified) (2 diffs)
-
math/psPolynomial.c (modified) (2 diffs)
-
math/psSpline.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psFunctions.c
r3000 r3002 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-01-14 23: 27:56$9 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-01-14 23:40:24 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1912 1912 (tmp->domains)[i] = bounds->data.F32[i]; 1913 1913 if (i<(bounds->n-1)) { 1914 if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 printf("ERROR: psErrorMsg(data points must be distinct\n"); 1916 // XXX: psErrorMsg(data points must be distinct) 1914 if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n"); 1917 1916 } 1918 1917 } -
trunk/psLib/src/math/psPolynomial.c
r3000 r3002 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-01-14 23: 27:56$9 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-01-14 23:40:24 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1912 1912 (tmp->domains)[i] = bounds->data.F32[i]; 1913 1913 if (i<(bounds->n-1)) { 1914 if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 printf("ERROR: psErrorMsg(data points must be distinct\n"); 1916 // XXX: psErrorMsg(data points must be distinct) 1914 if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n"); 1917 1916 } 1918 1917 } -
trunk/psLib/src/math/psSpline.c
r3000 r3002 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-01-14 23: 27:56$9 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-01-14 23:40:24 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1912 1912 (tmp->domains)[i] = bounds->data.F32[i]; 1913 1913 if (i<(bounds->n-1)) { 1914 if (FLT_EPSILON < fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 printf("ERROR: psErrorMsg(data points must be distinct\n"); 1916 // XXX: psErrorMsg(data points must be distinct) 1914 if (FLT_EPSILON >= fabs(bounds->data.F32[i+1]-bounds->data.F32[i])) { 1915 psError(PS_ERR_UNKNOWN, true, "data points must be distinct\n"); 1917 1916 } 1918 1917 }
Note:
See TracChangeset
for help on using the changeset viewer.
