Commit e92f08bc authored by Alexander Lapshin's avatar Alexander Lapshin

bom fix

parent 076f6d0d
......@@ -455,7 +455,7 @@ static double date2jd(const std::string& date)
int year, day, month, hour, minute, second;
double fraction;
StrToDate(date, year, day, month, hour, minute, second, fraction);
return SystemTimeToJ(year, month, day, hour, minute, second, fraction * 1000);
return SystemTimeToJ(year, month, day, hour, minute, second, (int)(fraction * 1000));
}
static std::string jd2date(double jd, int prec = 3)
......
#include "interpolate.h"
#include "interpolate.h"
#include "Propagator.h"
#include "GreenwichFrame.h"
#include <algorithm>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment