From 191a71487f4325a887d658f1817f19eba8daf90a Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 1 Sep 2023 12:37:30 -0500 Subject: [PATCH] Correct dimensions in java test --- 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 56ac7f4b157..205f3b0e3a4 100644 --- a/java/test/TestH5Arw.java +++ b/java/test/TestH5Arw.java @@ -278,7 +278,7 @@ public void testH5Aread_16bit_ints() @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 b18bed7ad2f..a5caabd72be 100644 --- a/java/test/TestH5Drw.java +++ b/java/test/TestH5Drw.java @@ -226,7 +226,7 @@ public void testH5Dread_16bit_ints() @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);