Commit e2d290eb authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Fixing typo in haversine formula.

parent 707c287a
......@@ -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, lon2, lat2, lon2);
return radius * haversine(lat1, lon1, lat2, lon2);
}
} // namespace radix
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