mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
Fix little bug
This commit is contained in:
parent
14ce9e23a4
commit
7a573efde1
|
@ -86,7 +86,7 @@ public class GraphBuilder {
|
||||||
int[][] incomingEdgeList = new int[sz][];
|
int[][] incomingEdgeList = new int[sz][];
|
||||||
for (int i = 0; i < sz; ++i) {
|
for (int i = 0; i < sz; ++i) {
|
||||||
incomingEdgeList[i] = incomingEdges[i].toArray();
|
incomingEdgeList[i] = incomingEdges[i].toArray();
|
||||||
Arrays.sort(incomingEdgeList);
|
Arrays.sort(incomingEdgeList[i]);
|
||||||
}
|
}
|
||||||
builtGraph = new GraphImpl(incomingEdgeList, outgoingEdgeList);
|
builtGraph = new GraphImpl(incomingEdgeList, outgoingEdgeList);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user