Changeset 16978 for trunk


Ignore:
Timestamp:
07/23/13 11:59:26 (11 years ago)
Author:
tbretz
Message:
When compiling without libnova, GetMjd must read Mjd
File:
1 edited

Legend:

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

    r16588 r16978  
    330330    return Time(sun_day.rise);
    331331#else
    332     return Time(floor(GetMjd()-0.5)+0.5);
     332    return Time(floor(Mjd()-0.5)+0.5);
    333333#endif
    334334}
     
    363363    return Time(sun_day.rise);
    364364#else
    365     return Time(floor(GetMjd()+0.5))+0.5;
     365    return Time(floor(Mjd()+0.5))+0.5;
    366366#endif
    367367}
Note: See TracChangeset for help on using the changeset viewer.