Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
e2d290eb
Commit
e2d290eb
authored
Jul 01, 2016
by
LEFEBVREJP email
Browse files
Fixing typo in haversine formula.
parent
707c287a
Changes
1
Hide whitespace changes
Inline
Side-by-side
radixmath/util.cc
View file @
e2d290eb
...
...
@@ -109,7 +109,7 @@ Real haversine(Real lat1, Real lon1, Real lat2, Real lon2)
Real
greatCircleDistance
(
Real
lat1
,
Real
lon1
,
Real
lat2
,
Real
lon2
,
Real
radius
)
{
return
radius
*
haversine
(
lat1
,
lon
2
,
lat2
,
lon2
);
return
radius
*
haversine
(
lat1
,
lon
1
,
lat2
,
lon2
);
}
}
// namespace radix
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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