From 84b2efd8f84d562d56769d6420306322428bd840 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Mon, 13 Oct 2014 15:16:32 -0300 Subject: [PATCH] Use correct parameter types in FloatList methods --- core/src/processing/data/FloatList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/processing/data/FloatList.java b/core/src/processing/data/FloatList.java index dd050e111..0238fe729 100644 --- a/core/src/processing/data/FloatList.java +++ b/core/src/processing/data/FloatList.java @@ -300,7 +300,7 @@ public class FloatList implements Iterable { // same as splice - public void insert(int index, int[] values) { + public void insert(int index, float[] values) { if (index < 0) { throw new IllegalArgumentException("insert() index cannot be negative: it was " + index); } @@ -328,7 +328,7 @@ public class FloatList implements Iterable { } - public void insert(int index, IntList list) { + public void insert(int index, FloatList list) { insert(index, list.values()); }