forked from organicmaps/organicmaps
[map-tests] In ConvergenceTest abs() is replaced by fabs().
This commit is contained in:
parent
834b5346b3
commit
0b23f7e862
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ bool ConvergenceTest(double lat, double lon, double latEps, double lonEps)
|
|||
MapsWithMe_LatLonToString(tmpLat, tmpLon, urlPrefix + 0, 9);
|
||||
parser.DecodeLatLon(urlPrefix, tmpLat, tmpLon);
|
||||
}
|
||||
if (abs(lat - tmpLat) <= latEps && abs(lon - tmpLon) <= lonEps)
|
||||
if (fabs(lat - tmpLat) <= latEps && fabs(lon - tmpLon) <= lonEps)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue