Răsfoiți Sursa

add todo for exception fix

Eren Yilmaz 7 ani în urmă
părinte
comite
1ace4dfc9e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;