From 25fd29b97e45257bd8934e9719ca82addb8d25f3 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Mon, 20 Sep 2021 12:16:47 +0200 Subject: [PATCH] replaced short[][] with short[] in mergeMultiData hotfix --- src/main/java/com/seibel/lod/util/DataPointUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seibel/lod/util/DataPointUtil.java b/src/main/java/com/seibel/lod/util/DataPointUtil.java index d88b2f899..719ccd052 100644 --- a/src/main/java/com/seibel/lod/util/DataPointUtil.java +++ b/src/main/java/com/seibel/lod/util/DataPointUtil.java @@ -386,8 +386,8 @@ public class DataPointUtil long[] dataPoint = new long[count]; for (j = count - 1; j >= 0; j--) { - depth = heightAndDepth[j][0]; - height = heightAndDepth[j][1]; + depth = heightAndDepth[j * 2]; + height = heightAndDepth[j * 2 + 1]; for(int k = 0; k < size; k++){ singleDataToMerge[k] = 0; }