Skip to content

Commit

Permalink
Update stdlib_hashmap_chaining.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckyvt committed Jul 16, 2024
1 parent 3e7337e commit 4bd0bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_hashmap_chaining.f90
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ module subroutine set_other_chaining_data( map, key, other, exists )
! associate( target => map % inverse(inmap) % target )
! target % other = other
!map % inverse(inmap) % target % other = other
if allocated( map % inverse(inmap) % target % other ) then
if ( allocated( map % inverse(inmap) % target % other ) ) then
deallocate( map % inverse(inmap) % target % other )
endif
allocate( map % inverse(inmap) % target % other, source=other)
Expand Down

0 comments on commit 4bd0bb4

Please sign in to comment.