fixed a copy mistake in dijkstra

This commit is contained in:
bartosz 2022-01-18 13:38:48 +01:00
parent cab460feb8
commit 2b4ad77912

View File

@ -107,4 +107,5 @@ if __name__ == "__main__":
} }
print(dijkstra_algorithm(g, 7, 10)) print(dijkstra_algorithm(g, 7, 10))
print(dijkstra_algorithm(g2, 1, 4, is_directed=True))
print(dijkstra_algorithm(g2, 1, 5, is_directed=True)) print(dijkstra_algorithm(g2, 1, 5, is_directed=True))