Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Alexander Lapshin
common
Commits
e92f08bc
Commit
e92f08bc
authored
Nov 01, 2018
by
Alexander Lapshin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bom fix
parent
076f6d0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
TimeFunctions.h
utils/TimeFunctions.h
+1
-1
interpolate.cpp
utils/interpolate.cpp
+2
-2
No files found.
utils/TimeFunctions.h
View file @
e92f08bc
...
...
@@ -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
)
...
...
utils/interpolate.cpp
View file @
e92f08bc
#
include
"interpolate.h"
#include "interpolate.h"
#include "Propagator.h"
#include "GreenwichFrame.h"
#include <algorithm>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment