Skip to content

Commit 3a9e2e4

Browse files
committed
fix
1 parent 742f621 commit 3a9e2e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/test/shortestPath.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe('Shortest Path', () => {
127127
end,
128128
}));
129129

130-
const floydWarshall = new FloydWarshall({ graph, device });
130+
const floydWarshall = new FloydWarshall({ graph, device, edgeWeightFactor: 1 });
131131
await floydWarshall.compute();
132132

133133
const shortestPaths = await floydWarshall.shortestPaths(paths);

0 commit comments

Comments
 (0)