forked from organicmaps/organicmaps
changed abs to fabs.
This commit is contained in:
parent
8fafe0d932
commit
521c00cb8b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue