Skip to content

Commit cc14840

Browse files
committed
Revert "Update stdlib_hashmap_chaining.f90"
This reverts commit 937cade.
1 parent 32ba12d commit cc14840

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/stdlib_hashmap_chaining.f90

+1-2
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,7 @@ module subroutine map_chain_entry(map, key, other, conflict)
568568
new_ent % next => map % slots(hash_index) % target
569569
map % slots(hash_index) % target => new_ent
570570
call copy_key( key, new_ent % key )
571-
!if ( present(other) ) new_ent % other = other
572-
allocate( new_ent % other, source=other)
571+
if ( present(other) ) new_ent % other = other
573572
if ( new_ent % inmap == 0 ) then
574573
map % num_entries = map % num_entries + 1
575574
inmap = map % num_entries

0 commit comments

Comments
 (0)