Skip to content

Commit

Permalink
Merge pull request #707 from degawa/fix-open_hashmap_type-access-viol…
Browse files Browse the repository at this point in the history
…ation

Fixed access violation in a type-bound procedure of `open_hashmap_type`
  • Loading branch information
jvdp1 authored May 4, 2023
2 parents 2fdfab4 + 458209d commit b76075a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_hashmap_open.f90
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ module subroutine get_other_open_data( map, key, other, exists )
invalid_inmap
end if
else if ( associated( map % inverse(inmap) % target ) ) then
exists = .true.
if ( present(exists) ) exists = .true.
call copy_other( map % inverse(inmap) % target % other, other )
else
if ( present(exists) ) then
Expand Down

0 comments on commit b76075a

Please sign in to comment.