From b33d152301c4c334a51899e5c4d6b2a0cfd2f014 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 13 Jun 2016 15:21:58 +0200 Subject: Addresses changed (should be configurable...) --- src/main/java/org/openslx/graph/Graph.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/openslx/graph/Graph.java') diff --git a/src/main/java/org/openslx/graph/Graph.java b/src/main/java/org/openslx/graph/Graph.java index 65110f6..7f7ca64 100644 --- a/src/main/java/org/openslx/graph/Graph.java +++ b/src/main/java/org/openslx/graph/Graph.java @@ -99,7 +99,7 @@ public class Graph implements java.io.Serializable _edges.put( edge, edge ); } // Set the edge weight. - edge.setWeight( weight ); + edge.addWeight( weight ); } // Remove a Node from the Graph, along with all of its emanating Edges. -- cgit v1.2.3-55-g7522