We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151a448 commit 4e90135Copy full SHA for 4e90135
editoast/src/views/infra/pathfinding.rs
@@ -199,7 +199,7 @@ fn compute_path(
199
.clone()
200
.union(&ending_track.bbox_geo)
201
.diagonal_length();
202
- // We build an upper bound that is the diagonal of the bounding bex covering start and end
+ // We build an upper bound that is the diagonal of the bounding box covering start and end
203
// During the path search, we prune any route that is twice that distance
204
// We set an upper bound of at least 10 km to avoid problems on very short distances
205
let mut best_distance = into_cost(best_distance.min(10_000.0));
0 commit comments