summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-01 17:52:24 (GMT)
committerGitHub <noreply@github.com>2023-09-01 17:52:24 (GMT)
commit80fe48f2d370987a4d8e6f9789df735cc6963ef8 (patch)
tree59e05bfd305ea1b0ce0d24614c40b455a3b4df5a /java
parent0b24f40b0fc7728e57a66622bbadc63d88ae181a (diff)
downloadhdf5-80fe48f2d370987a4d8e6f9789df735cc6963ef8.zip
hdf5-80fe48f2d370987a4d8e6f9789df735cc6963ef8.tar.gz
hdf5-80fe48f2d370987a4d8e6f9789df735cc6963ef8.tar.bz2
Correct java test dimension (#3482)
Diffstat (limited to 'java')
-rw-r--r--java/test/TestH5Arw.java2
-rw-r--r--java/test/TestH5Drw.java2
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);