Skip to content

Commit

Permalink
Correct dimensions in java test (#3485)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Sep 1, 2023
1 parent 2181af8 commit 4e2fbaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/test/TestH5Arw.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion java/test/TestH5Drw.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4e2fbaa

Please sign in to comment.