bugfix for repeat function

This commit is contained in:
wyq 2024-01-24 15:14:10 +08:00
parent cbecbf9441
commit 11a1878633

View File

@ -1281,8 +1281,8 @@ public class ArrayUtil {
r = Array.factory(a.getDataType(), new int[]{(int) a.getSize() * n});
int i = 0;
while(iterA.hasNext()) {
o = iterA.getObjectNext();
for (int j = 0; j < n; j++) {
o = iterA.getObjectNext();
r.setObject(i * n + j, o);
}
i += 1;