Changeset 2782 for trunk/psLib/test/dataManip/tst_psHist03.c
- Timestamp:
- Dec 21, 2004, 2:54:28 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psHist03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psHist03.c
r2780 r2782 67 67 68 68 for (i=0;i<numBins;i++) { 69 if (myHist->nums->data. U32[i] !=0) {70 printf("ERROR: myHist->nums->data. U32[%d] not initialized to 0.\n", i);69 if (myHist->nums->data.F32[i] != 0.0) { 70 printf("ERROR: myHist->nums->data.F32[%d] not initialized to 0.\n", i); 71 71 testStatus = false; 72 72 } 73 myHist->nums->data. U32[i] =0;73 myHist->nums->data.F32[i] = 0.0; 74 74 } 75 75 … … 91 91 myHist = psVectorHistogram( myHist, myData, NULL, NULL, 0 ); 92 92 for (i=0;i<numBins;i++) { 93 printf("Bin number %d bounds: (%6.3f - %6.3f): data: (% d)\n", i,93 printf("Bin number %d bounds: (%6.3f - %6.3f): data: (%f)\n", i, 94 94 myHist->bounds->data.F32[i], 95 95 myHist->bounds->data.F32[i+1], 96 myHist->nums->data. S32[i]);96 myHist->nums->data.F32[i]); 97 97 } 98 98
Note:
See TracChangeset
for help on using the changeset viewer.
