Changeset 9556


Ignore:
Timestamp:
Feb 25, 2010, 11:31:19 AM (11 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9555 r9556  
    134134        return kFALSE;
    135135
    136     // Just a small numerical improvement
    137     fsin /= norm;
    138     fcos /= norm;
    139 
    140     // Calculate Moon Shadow Position:
    141     Double_t sn=fsin;
    142     Double_t cs=fcos;
     136    // Calculate Moon Shadow Position and apply a small numerical improvement
     137    Double_t sn=fsin/norm;
     138    Double_t cs=fcos/norm;
    143139
    144140    const MPositionOffsetCalc calc1(fOffsetShadow, fcos, fsin);
Note: See TracChangeset for help on using the changeset viewer.