Skip to content

Commit

Permalink
Bugfix: networkx does not support kwarg for graph anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKarlBauer committed Feb 6, 2023
1 parent 100f45f commit 5630842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mechkit/notation.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def convert(self, inp, target, source, quantity):

graph = self.graphs_dict[quantity]

path = nx.shortest_path(G=graph, source=source, target=target)
path = nx.shortest_path(graph, source=source, target=target)

steps = list(nx.utils.pairwise(path))

Expand Down

0 comments on commit 5630842

Please sign in to comment.