mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
mbtiles.cpp: isinf to std::isinf (#303)
This commit is contained in:
+1
-1
@@ -700,7 +700,7 @@ metadata make_metadata(const char *fname, int minzoom, int maxzoom, double minla
|
|||||||
|
|
||||||
m.strategies_json = stringify_strategies(strategies);
|
m.strategies_json = stringify_strategies(strategies);
|
||||||
|
|
||||||
if (isinf(droprate)) {
|
if (std::isinf(droprate)) {
|
||||||
droprate = LLONG_MAX;
|
droprate = LLONG_MAX;
|
||||||
}
|
}
|
||||||
if (basezoom != maxzoom || droprate != 2.5 || retain_points_multiplier != 1) {
|
if (basezoom != maxzoom || droprate != 2.5 || retain_points_multiplier != 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user