Skip to content

Commit

Permalink
Fix linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Aug 31, 2021
1 parent da26d00 commit 4af7c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/diffusion/neb/periodic_dijkstra.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def periodic_dijkstra(
# use a default dict since we don't know how far out to search
best_ans = defaultdict(lambda: math.inf) # type: ignore

path_parent = dict() # the parent of the current node in the optimal path
path_parent = {} # the parent of the current node in the optimal path
pq = [] # type: ignore
for isource in sources:
heapq.heappush(pq, (0, (isource, (0, 0, 0))))
Expand Down

0 comments on commit 4af7c8b

Please sign in to comment.