File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,11 @@ pub fn walk_distance(
219219 let nd = d + ystep. hypot ( xstep) * granularity_m;
220220 if nd <= max_distance_m && nd < dist[ [ ny, nx] ] {
221221 dist[ [ ny, nx] ] = nd;
222- heap. push ( HeapItem { dist : nd, y : ny, x : nx } ) ;
222+ heap. push ( HeapItem {
223+ dist : nd,
224+ y : ny,
225+ x : nx,
226+ } ) ;
223227 }
224228 }
225229 }
Original file line number Diff line number Diff line change @@ -265,7 +265,8 @@ def run(self):
265265 try :
266266 total_iters = _positive (int (self .dlg .n_iterations .text ()))
267267 granularity_m = _positive (int (self .dlg .grid_size_m .text ()))
268- # Split walks: centres and green each have their own. The CA grows by the LARGER walk; the recommended plan judges each amenity against its own.
268+ # Split walks: centres and green each have their own. The CA grows by the LARGER
269+ # walk; the recommended plan judges each amenity against its own.
269270 centre_distance_m = _positive (int (self .dlg .centre_walk_dist .text ()))
270271 green_distance_m = _positive (int (self .dlg .green_walk_dist .text ()))
271272 max_distance_m = max (centre_distance_m , green_distance_m )
You can’t perform that action at this time.
0 commit comments