mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
change Sort to use int for comparisons for accuracy, add DoubleDict and DoubleList
This commit is contained in:
@@ -701,7 +701,7 @@ public class IntDict {
|
||||
}
|
||||
|
||||
@Override
|
||||
public float compare(int a, int b) {
|
||||
public int compare(int a, int b) {
|
||||
int diff = 0;
|
||||
if (useKeys) {
|
||||
diff = keys[a].compareToIgnoreCase(keys[b]);
|
||||
|
||||
Reference in New Issue
Block a user