Skip to content

Commit 32ba12d

Browse files
committed
Revert "Update stdlib_hashmap_chaining.f90"
This reverts commit 873a6de.
1 parent 4cb9c4d commit 32ba12d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_hashmap_chaining.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ module subroutine map_chain_entry(map, key, other, conflict)
569569
map % slots(hash_index) % target => new_ent
570570
call copy_key( key, new_ent % key )
571571
!if ( present(other) ) new_ent % other = other
572-
if ( present(other) ) allocate( new_ent % other, source=other)
572+
allocate( new_ent % other, source=other)
573573
if ( new_ent % inmap == 0 ) then
574574
map % num_entries = map % num_entries + 1
575575
inmap = map % num_entries

0 commit comments

Comments
 (0)