Skip to content

Commit

Permalink
change allocate statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdp1 committed Jul 14, 2024
1 parent d620ec8 commit 91be723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stdlib_hashmap_chaining.f90
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ module subroutine get_other_chaining_data( map, key, other, exists )
else if ( associated( map % inverse(inmap) % target ) ) then
print*,'bbbb1'
if (present(exists) ) exists = .true.
other = map % inverse(inmap) % target % other
!other = map % inverse(inmap) % target % other
allocate(other, source=map % inverse(inmap) % target % other)
else
print*,'bbbb2'
if ( present(exists) ) then
Expand Down

0 comments on commit 91be723

Please sign in to comment.