Browse Source

add todo for exception fix

Eren Yilmaz 7 năm trước cách đây
mục cha
commit
1ace4dfc9e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/bk/ConflictDetection.java

+ 1 - 1
src/bk/ConflictDetection.java

@@ -27,7 +27,7 @@ public class ConflictDetection implements AlgorithmStage {
     public StageStatus forwardStep() {
     	int oldI = i;
     	int oldL1 = l1;
-    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 );
+    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 ); // TODO: fix IndexOutOfBoundsException
     	curr.setSelected( null );
     	ArrayList< LayeredGraphEdge > edges = curr.getIncomingEdges();
     	LayeredGraphEdge dummyEdge = null;