Skip to content
Snippets Groups Projects
Commit 4e537218 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Use std::abs instead of global fabs.

parent db2bb383
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ Location::type Polyline::getLocationOfPoint (std::size_t k, GeoLib::Point const
if (det_2x2 > std::numeric_limits<double>::epsilon())
return Location::LEFT;
if (std::numeric_limits<double>::epsilon() < fabs(det_2x2))
if (std::numeric_limits<double>::epsilon() < std::abs(det_2x2))
return Location::RIGHT;
if (a[0] * b[0] < 0.0 || a[1] * b[1] < 0.0)
return Location::BEHIND;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment