Skip to content

Commit

Permalink
removing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoScholtes committed Feb 14, 2019
1 parent 8bafbbf commit fa06dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathpy/classes/network.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def add_edge(self, v, w, **edge_attributes):


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

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

0 comments on commit fa06dc5

Please sign in to comment.