Skip to content

Commit 95d71db

Browse files
committed
Merge pull request processing#2902 from federicobond/floatlist-fixes
Use correct parameter types in FloatList methods
2 parents 5e534e8 + d01c766 commit 95d71db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/processing/data/FloatList.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public void append(FloatList list) {
300300

301301

302302
// same as splice
303-
public void insert(int index, int[] values) {
303+
public void insert(int index, float[] values) {
304304
if (index < 0) {
305305
throw new IllegalArgumentException("insert() index cannot be negative: it was " + index);
306306
}
@@ -328,7 +328,7 @@ public void insert(int index, int[] values) {
328328
}
329329

330330

331-
public void insert(int index, IntList list) {
331+
public void insert(int index, FloatList list) {
332332
insert(index, list.values());
333333
}
334334

0 commit comments

Comments
 (0)