Fix little bug

This commit is contained in:
konsoletyper 2015-02-22 22:39:07 +03:00
parent 14ce9e23a4
commit 7a573efde1

View File

@ -86,7 +86,7 @@ public class GraphBuilder {
int[][] incomingEdgeList = new int[sz][];
for (int i = 0; i < sz; ++i) {
incomingEdgeList[i] = incomingEdges[i].toArray();
Arrays.sort(incomingEdgeList);
Arrays.sort(incomingEdgeList[i]);
}
builtGraph = new GraphImpl(incomingEdgeList, outgoingEdgeList);
}