diff --git a/src/__init__.py b/src/__init__.py index d350d6c..ddc6599 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -38,9 +38,9 @@ def get_elev_grid(elev_map, map_bounds, scale_factor, resolution): "blocked" to avoid jagged and/or superfluous edges. """ # Are there better factoring algorithms? Yes. Do we need one here? Nope! - block_sizes = sorted([ + block_sizes = reversed(sorted([ int(resolution / x) for x in range(2, resolution) if resolution % x == 0 - ]) + ])) elev_grid = np.zeros((resolution, resolution)) for i in range(resolution):