Skip to content

Commit d161453

Browse files
Update src/stdlib_hashmap_wrappers.f90
Co-authored-by: Ian Giestas Pauli <[email protected]>
1 parent 6da72d4 commit d161453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_hashmap_wrappers.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ subroutine get_char_key( key, value )
206206
key_as_char = key_size
207207
case(2)
208208
if ( iand( key_size, 1_int64 ) > 0 ) then
209-
stop 'KEY does not map to a character string.'
209+
error stop 'Internal Error at stdlib_hashmaps: System uses 2 bytes per character, so key_size can't be an odd number'
210210
end if
211211
key_as_char = ishft( key_size, -1 )
212212
case(4)

0 commit comments

Comments
 (0)