Skip to content

Commit 4246ae4

Browse files
committed
fix for indices with alternate constructor
1 parent 2ae0a20 commit 4246ae4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/processing/data/IntDict.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public IntDict(BufferedReader reader) {
8888
if (pieces.length == 2) {
8989
keys[count] = pieces[0];
9090
values[count] = PApplet.parseInt(pieces[1]);
91+
indices.put(pieces[0], count);
9192
count++;
9293
}
9394
}

0 commit comments

Comments
 (0)