Changeset 2780 for trunk/psLib/test/dataManip/tst_psHist02.c
- Timestamp:
- Dec 21, 2004, 1:25:14 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psHist02.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psHist02.c
r2721 r2780 66 66 67 67 myHist = psHistogramAlloc( LOWER, UPPER, numBins ); 68 myHist = psVectorHistogram( myHist, myData, NULL, 0 );68 myHist = psVectorHistogram( myHist, myData, NULL, NULL, 0 ); 69 69 70 70 for ( i = 0;i < numBins;i++ ) { … … 91 91 92 92 myHist = psHistogramAlloc( LOWER, UPPER, numBins ); 93 myHist = psVectorHistogram( myHist, myData, myMask, 1 );93 myHist = psVectorHistogram( myHist, myData, NULL, myMask, 1 ); 94 94 95 95 for ( i = 0;i < numBins;i++ ) { … … 121 121 122 122 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message."); 123 myHist2 = psVectorHistogram( NULL, myData, NULL, 0 );123 myHist2 = psVectorHistogram( NULL, myData, NULL, NULL, 0 ); 124 124 if ( myHist2 != NULL ) { 125 125 printf( "ERROR: myHist2!=NULL\n" ); … … 136 136 myHist = psHistogramAlloc( LOWER, UPPER, numBins ); 137 137 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message."); 138 myHist = psVectorHistogram( myHist, NULL, NULL, 0 );138 myHist = psVectorHistogram( myHist, NULL, NULL, NULL, 0 ); 139 139 if ( myHist == NULL ) { 140 140 printf( "ERROR: myHist==NULL\n" ); … … 155 155 myData->n = myData->nalloc; 156 156 myHist = psHistogramAlloc(LOWER, UPPER, numBins); 157 myHist = psVectorHistogram(myHist, NULL, NULL, 0);157 myHist = psVectorHistogram(myHist, NULL, NULL, NULL, 0); 158 158 if (myHist == NULL) { 159 159 printf("ERROR: myHist==NULL\n");
Note:
See TracChangeset
for help on using the changeset viewer.
