diff --git a/src/main/org/insa/graph/Node.java b/src/main/org/insa/graph/Node.java index 966fdc8..4ba7917 100644 --- a/src/main/org/insa/graph/Node.java +++ b/src/main/org/insa/graph/Node.java @@ -45,6 +45,7 @@ public class Node implements Comparable { d2o = new ArcBackward(arc); } else { + Collections.reverse(points); d2o = new ArcForward(destination, origin, length, roadInformation, points); arc = new ArcBackward(d2o); }