IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 21, 2004, 2:54:28 PM (22 years ago)
Author:
gusciora
Message:

Modified histogram->nums to be of type F32, not U32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psHist01.c

    r2392 r2782  
    5656
    5757        for (i=0;i<numBins;i++) {
    58             if (myHist->nums->data.U32[i] != 0) {
    59                 printf("ERROR: myHist->nums->data.U32[%d] not initialized to 0.\n", i);
     58            if (myHist->nums->data.F32[i] != 0.0) {
     59                printf("ERROR: myHist->nums->data.F32[%d] not initialized to 0.\n", i);
    6060                testStatus = false;
    6161            }
    62             myHist->nums->data.U32[i] = 0;
     62            myHist->nums->data.F32[i] = 0.0;
    6363        }
    6464
Note: See TracChangeset for help on using the changeset viewer.