Ignore:
Timestamp:
10/08/06 14:22:25 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc

    r7899 r8021  
    212212{
    213213    const Double_t res = TMath::Sqrt(fChisq-fBias*fBias);
    214     if (TMath::IsNaN(res))
     214    if (!TMath::Finite(res))
    215215    {
    216         *fLog << all << "MHEnergyEst::Print: ERROR - Resolution is NaN (not a number)." << endl;
     216        *fLog << all << "MHEnergyEst::Print: ERROR - Resolution is not finite (eg. NaN)." << endl;
    217217        return;
    218218    }
Note: See TracChangeset for help on using the changeset viewer.