Ignore:
Timestamp:
05/21/06 16:17:05 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mranforest/MRanForest.cc

    r7693 r7724  
    590590
    591591        // control sorting
    592         for(int n=1;n<numdata;n++)
    593             if(v[isort[n-1]]>v[isort[n]])
     592        /*
     593        for(int n=0;n<numdata-1;n++)
     594            if(v[isort[n]]>v[isort[n+1]])
    594595            {
    595596                *fLog << err <<"Event no. "<<n<<", matrix column no. "<<mvar;
     
    597598                return kFALSE;
    598599            }
    599 
     600            */
     601
     602        // DataRang is similar to the isort index starting from 0 it is
     603        // increased by one for each event which is greater, but stays
     604        // the same for the same value. (So to say it counts how many
     605        // different values we have)
    600606        for(Int_t n=0;n<numdata-1;n++)
    601607        {
     
    603609            const Int_t n2=isort[n+1];
    604610
     611            // FIXME: Copying isort[n] to fDataSort[mvar*numdata] can be accelerated!
    605612            fDataSort[mvar*numdata+n]=n1;
    606613            if(n==0) fDataRang[mvar*numdata+n1]=0;
Note: See TracChangeset for help on using the changeset viewer.