Skip to content
Permalink
Browse files

removing whitespaces

  • Loading branch information...
IngoScholtes committed Feb 14, 2019
1 parent 8bafbbf commit fa06dc5de1fffd94e77495d5e1d79a19df1bf689
Showing with 1 addition and 1 deletion.
  1. +1 −1 pathpy/classes/network.py
@@ -446,7 +446,7 @@ def add_edge(self, v, w, **edge_attributes):

# add any new atributes to the edge
self.edges[e] = {**self.edges[e], **edge_attributes}

# add default weight of one, if no weight is specified
if 'weight' not in self.edges[e]:
self.edges[e]['weight'] = 1.0

0 comments on commit fa06dc5

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.