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_psHist02.c

    r2780 r2782  
    6969
    7070        for ( i = 0;i < numBins;i++ ) {
    71             printf( "Bin number %d bounds: (%.2f - %.2f) data (%d)\n", i,
     71            printf( "Bin number %d bounds: (%.2f - %.2f) data (%f)\n", i,
    7272                    myHist->bounds->data.F32[ i ],
    7373                    myHist->bounds->data.F32[ i + 1 ],
    74                     myHist->nums->data.U32[ i ] );
     74                    myHist->nums->data.F32[ i ] );
    7575        }
    7676        psMemCheckCorruption( 1 );
     
    9494
    9595        for ( i = 0;i < numBins;i++ ) {
    96             printf( "Bin number %d bounds: (%6.3f - %6.3f) data (%d)\n", i,
     96            printf( "Bin number %d bounds: (%6.3f - %6.3f) data (%f)\n", i,
    9797                    myHist->bounds->data.F32[ i ],
    9898                    myHist->bounds->data.F32[ i + 1 ],
    99                     myHist->nums->data.U32[ i ] );
     99                    myHist->nums->data.F32[ i ] );
    100100        }
    101101        psMemCheckCorruption( 1 );
Note: See TracChangeset for help on using the changeset viewer.