Skip to content

Commit

Permalink
fixed BIND name (#3957)
Browse files Browse the repository at this point in the history
* update H5Ssel_iter_reset_f test
  • Loading branch information
brtnfld authored Jan 24, 2024
1 parent f86fe61 commit 424f380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fortran/src/H5Sff.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ SUBROUTINE h5ssel_iter_reset_f(sel_iter_id, space_id, hdferr)
INTEGER, INTENT(OUT) :: hdferr
INTERFACE
INTEGER(C_INT) FUNCTION H5Ssel_iter_reset(sel_iter_id, space_id) &
BIND(C,NAME='H5Ssel_iter_close')
BIND(C,NAME='H5Ssel_iter_reset')
IMPORT :: HID_T, C_INT
IMPLICIT NONE
INTEGER(HID_T), VALUE :: sel_iter_id
Expand Down
9 changes: 2 additions & 7 deletions fortran/test/tH5Sselect.F90
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,8 @@ SUBROUTINE test_select_iter(cleanup, total_error)
ENDIF

! Reset iterator
!CALL H5Ssel_iter_reset_f(iter_id, sid, error)
!CALL check("H5Ssel_iter_reset_f", error, total_error)

!off = -99
!ilen = -99
!CALL H5Ssel_iter_get_seq_list_f(iter_id, SEL_ITER_MAX_SEQ, 1024_size_t * 1024_size_t, nseq, nbytes, off, ilen, error)
!CALL check("H5Ssel_iter_get_seq_list_f", error, total_error)
CALL H5Ssel_iter_reset_f(iter_id, sid, error)
CALL check("H5Ssel_iter_reset_f", error, total_error)

! Close selection iterator
CALL H5Ssel_iter_close_f(iter_id, error)
Expand Down

0 comments on commit 424f380

Please sign in to comment.