Ignore:
Timestamp:
06/30/08 10:37:00 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8907 r8988  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MRanForest.cc,v 1.28 2008-06-02 08:46:43 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MRanForest.cc,v 1.29 2008-06-30 09:36:39 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    241241            // If no match found, function gives nearest element smaller
    242242            // than value.
    243             int k=TMath::BinarySearch(ngrid, fGrid.GetArray(), fHadTrue[j]);
     243            int k=TMath::BinarySearch(ngrid, fGrid.GetArray(), (Double_t)fHadTrue[j]);
    244244
    245245            fClass[j]   = k;
Note: See TracChangeset for help on using the changeset viewer.