diff --git a/UnitTests/DataStructures/StaticRTreeTest.cpp b/UnitTests/DataStructures/StaticRTreeTest.cpp index d5cd47fb2..55aeb9e34 100644 --- a/UnitTests/DataStructures/StaticRTreeTest.cpp +++ b/UnitTests/DataStructures/StaticRTreeTest.cpp @@ -26,10 +26,10 @@ typedef StaticRTree +template struct RandomGraphFixture { struct TupleHash @@ -196,8 +192,8 @@ struct RandomGraphFixture std::mt19937 g(RANDOM_SEED); - std::uniform_int_distribution<> lat_udist(MIN_LAT, MAX_LAT); - std::uniform_int_distribution<> lon_udist(MIN_LON, MAX_LON); + std::uniform_int_distribution<> lat_udist(WORLD_MIN_LAT, WORLD_MAX_LAT); + std::uniform_int_distribution<> lon_udist(WORLD_MIN_LON, WORLD_MAX_LON); for (unsigned i = 0; i < NUM_NODES; i++) {