Changeset 1947 for trunk/psLib/src/math/psPolynomial.c
- Timestamp:
- Oct 3, 2004, 2:40:23 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r1945 r1947 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.4 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-10-0 3 23:35:47$9 * @version $Revision: 1.45 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-10-04 00:40:23 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1685 1685 } 1686 1686 1687 // XXX: Have Robert put the dealocator in the memory file. 1688 int p_psSpline1DFree(psSpline1D *tmpSpline) 1689 { 1690 int i; 1691 1692 if (tmpSpline == NULL) { 1693 return(0); 1694 } 1695 1696 if (tmpSpline->spline != NULL) { 1697 for (i=0;i<tmpSpline->n;i++) { 1698 psFree((tmpSpline->spline)[i]); 1699 } 1700 psFree(tmpSpline->spline); 1701 } 1702 1703 if (tmpSpline->p_psDeriv2 != NULL) { 1704 psFree(tmpSpline->p_psDeriv2); 1705 } 1706 psFree(tmpSpline->domains); 1707 psFree(tmpSpline); 1708 1709 return(0); 1710 } 1711 1687 1712 /***************************************************************************** 1688 1713 *****************************************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
