--- chewbacca/YodaProfiler/src/sgp4.cpp 2008/09/23 07:20:33 1.1.1.1 +++ chewbacca/YodaProfiler/src/sgp4.cpp 2009/08/05 18:48:44 1.3 @@ -2,6 +2,7 @@ // globals.cpp // #include +#include ////////////////////////////////////////////////////////////////////////////// double sqr(const double x) @@ -230,7 +231,7 @@ // 1582 A.D.: 10 days removed from calendar // 3000 A.D.: Arbitrary error checking limit assert((year > 1582) && (year < 3000)); - assert((day >= 0.0) && (day <= 366.5)); + assert((day >= 0.0) && (day <= 366.7)); // 366.5 // Now calculate Julian date