Changeset 1009 in Sophya for trunk/SophyaLib/HiStats/xntuple.cc


Ignore:
Timestamp:
May 17, 2000, 9:31:00 AM (25 years ago)
Author:
ansari
Message:

Suite a l'intervention de cmv, rend coherent le choix long a la place de int dans xntuple.
Que le magicien verifie, car tout n'est pas transparent. Changement necessaire pour faire compiler fitsxntuple.cc
qui defini iligne en int_4
PB
Dominique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/xntuple.cc

    r1006 r1009  
    366366
    367367    if(mI) {
    368         memcpy(ptr[mBlk]->idata+mOff*mI, i_data, mI*sizeof(int)) ;
     368        memcpy(ptr[mBlk]->idata+mOff*mI, i_data, mI*sizeof(long)) ;
    369369        for(int i = 0 ; i < mI ; i++) {
    370370            x = i_data[i] ;
     
    437437//
    438438//
    439 int XNTuple::GetIVal(int i, int k) const
     439long XNTuple::GetIVal(int i, int k) const
    440440{
    441441    if( i<0 || i>=mNEnt || k<(mD+mF) || k>=(mD+mF+mI) )
Note: See TracChangeset for help on using the changeset viewer.