Changeset 4570 for trunk/psLib/src/math/psFunctions.c
- Timestamp:
- Jul 15, 2005, 2:42:28 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psFunctions.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psFunctions.c
r4568 r4570 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-07-16 00: 06:32$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-07-16 00:42:28 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1829 1829 float max) 1830 1830 { 1831 printf("HEY: psSpline1DAlloc()\n");1832 1831 PS_ASSERT_INT_NONNEGATIVE(numSplines, NULL); 1833 1832 PS_ASSERT_INT_NONNEGATIVE(order, NULL); … … 1853 1852 // 1854 1853 tmpSpline->knots = psVectorAlloc(numSplines+1, PS_TYPE_F32); 1855 if (tmpSpline->knots == NULL) {1856 printf("BAD\n");1857 } else {1858 printf("GOOD\n");1859 }1860 1854 psF32 width = (max - min) / ((psF32) numSplines); 1861 1855 tmpSpline->knots->data.F32[0] = min; … … 1897 1891 int order) 1898 1892 { 1899 printf("HEY: psSpline1DAllocGeneric()\n");1900 1893 PS_ASSERT_VECTOR_NON_NULL(bounds, NULL); 1901 1894 PS_ASSERT_VECTOR_NON_EMPTY(bounds, NULL); … … 1930 1923 } 1931 1924 tmpSpline->knots = PsVectorDup((psVector *) bounds); 1932 if (tmpSpline->knots == NULL) {1933 printf("BAD\n");1934 } else {1935 printf("GOOD\n");1936 }1937 1925 1938 1926 psMemSetDeallocator(tmpSpline, (psFreeFunc)spline1DFree);
Note:
See TracChangeset
for help on using the changeset viewer.
