Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-08-24 16:46:21 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:42:24 +0300
commit521c00cb8bf7b63fd97f73f242af5c51cdd0520a (patch)
treea246823368efc481f6038b152c2ba31f09874c02 /geometry
parent8fafe0d9327854d8d8c78ee67476e6d2c3e9d557 (diff)
changed abs to fabs.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/angles.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/angles.hpp b/geometry/angles.hpp
index 7aac2b0dd4..23d8729883 100644
--- a/geometry/angles.hpp
+++ b/geometry/angles.hpp
@@ -93,7 +93,7 @@ namespace ang
double res = 0;
- if (abs(rad1 - rad2) > math::pi)
+ if (fabs(rad1 - rad2) > math::pi)
{
if (rad1 > rad2)
res = 2 * math::pi - (rad1 - rad2);