Changeset 4392 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Jun 24, 2005, 4:02:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r4315 r4392 14 14 * stats->binsize 15 15 * 16 * @version $Revision: 1.13 4$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-06- 18 02:30:49$16 * @version $Revision: 1.135 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-06-25 02:02:05 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1810 1810 // bins, then there are N+1 bounds to those bins. 1811 1811 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1812 psMemSetDeallocator(newHist, (psFreeF cn) histogramFree);1812 psMemSetDeallocator(newHist, (psFreeFunc) histogramFree); 1813 1813 newHist->bounds = psVectorAlloc(n + 1, PS_TYPE_F32); 1814 1814 newHist->bounds->n = newHist->bounds->nalloc; … … 1857 1857 // Allocate memory for the new histogram structure. 1858 1858 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1859 psMemSetDeallocator(newHist, (psFreeF cn) histogramFree);1859 psMemSetDeallocator(newHist, (psFreeFunc) histogramFree); 1860 1860 newHist->bounds = psVectorAlloc(bounds->n, PS_TYPE_F32); 1861 1861 newHist->bounds->n = newHist->bounds->nalloc;
Note:
See TracChangeset
for help on using the changeset viewer.
