Skip to content

Commit

Permalink
fix: set swap correctly in test
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikLeuschner committed May 21, 2024
1 parent 3de6b6e commit 44a00a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void testSwap() {

MultiTreeSPEntry[] destTreesSwapped = algorithmSwapped.calcPaths(srcIdsSwapped, dstIdsSwapped);

RPHASTAlgorithm algorithm = new RPHASTAlgorithm(routingCHGraph, weighting, TraversalMode.NODE_BASED, true);
RPHASTAlgorithm algorithm = new RPHASTAlgorithm(routingCHGraph, weighting, TraversalMode.NODE_BASED, false);

int[] srcIds = new int[]{2, 3};
int[] dstIds = new int[]{1};
Expand Down

0 comments on commit 44a00a2

Please sign in to comment.