Increase maximum allowed horizontal accuracy to 1500.

GitOrigin-RevId: a60447f8aa35253f6e04f1cb77d45643bb64c389
This commit is contained in:
levlam 2020-10-30 17:01:06 +03:00
parent 3f23a06473
commit e5133445d3

View File

@ -14,8 +14,8 @@ double Location::fix_accuracy(double accuracy) {
if (!std::isfinite(accuracy) || accuracy <= 0.0) {
return 0.0;
}
if (accuracy >= 1000.0) {
return 1000.0;
if (accuracy >= 1500.0) {
return 1500.0;
}
return accuracy;
}