From 4e2fbaab151dc879010bb94fbc283d4e88048c4c Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Fri, 1 Sep 2023 13:17:27 -0500 Subject: Correct dimensions in java test (#3485) --- java/test/TestH5Arw.java | 2 +- java/test/TestH5Drw.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/test/TestH5Arw.java b/java/test/TestH5Arw.java index 56ac7f4..205f3b0 100644 --- a/java/test/TestH5Arw.java +++ b/java/test/TestH5Arw.java @@ -278,7 +278,7 @@ public class TestH5Arw { @Test public void testH5Aread_32bit_ints() { - int[][] attr_data = new int[DIM_X][DIM16_Y]; + int[][] attr_data = new int[DIM_X][DIM32_Y]; try { openH5file(H5_INTS_FILE, DATASETU32); diff --git a/java/test/TestH5Drw.java b/java/test/TestH5Drw.java index b18bed7..a5caabd 100644 --- a/java/test/TestH5Drw.java +++ b/java/test/TestH5Drw.java @@ -226,7 +226,7 @@ public class TestH5Drw { @Test public void testH5Dread_32bit_ints() { - int[][] dset_data = new int[DIM_X][DIM16_Y]; + int[][] dset_data = new int[DIM_X][DIM32_Y]; try { openH5file(H5_INTS_FILE, DATASETU32); -- cgit v0.12