Changeset 16972 for trunk/FACT++


Ignore:
Timestamp:
07/21/13 17:22:01 (11 years ago)
Author:
tbretz
Message:
src in GetListConfition is equal to pos and pos is in deg/deg. Therefore ra has to be converted to hours before Moon::Angle is called.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r16782 r16972  
    20072007                m.dec = moon.dec;
    20082008
    2009                 const double angle = m.Angle(src->ra, src->dec);
     2009                const double angle = m.Angle(src->ra/15, src->dec);
    20102010
    20112011                // Current prediction
Note: See TracChangeset for help on using the changeset viewer.