Skip to content

Commit

Permalink
remove infinite recursion due to removing method argument
Browse files Browse the repository at this point in the history
  • Loading branch information
tduberne committed Apr 18, 2024
1 parent d54877f commit 6c2b421
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ public class SpeedyGraphBuilder {

@Deprecated // use build-method with additional mode argument
public static SpeedyGraph build(Network network) {
return build(network);
}

public static SpeedyGraph build(Network network, String mode) {
if (hasTurnRestrictions(network)) {
return new SpeedyGraphBuilder().buildWithTurnRestrictions(network);
}
Expand Down

0 comments on commit 6c2b421

Please sign in to comment.