Ignore:
Timestamp:
10/21/10 11:25:16 (14 years ago)
Author:
tbretz
Message:
Increased the valid range for cos^2+sin^2 in MMoonPointing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosy/main/MMoonPointing.cc

    r10008 r10025  
    140140    // This is a sanity check for the case the Interpolation failed
    141141    const Double_t norm = TMath::Hypot(fcos, fsin);
    142     if (TMath::Abs(norm-1)>0.001)
     142    if (norm<0.996 || norm>1.001)
    143143    {
    144144        gLog << warn << "WARNING - Local moon position Zd/Az=";
Note: See TracChangeset for help on using the changeset viewer.