Skip to content

Commit ea7d80f

Browse files
committed
Fixed string in error message
Added missing concatenation operator. [ticket: X]
1 parent 080d719 commit ea7d80f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stdlib_hashmap_wrappers.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ subroutine get_char_key( key, value )
198198
!! value - the contents of key mapped to a CHARACTER string
199199
type(key_type), intent(in) :: key
200200
character(:), allocatable, intent(out) :: value
201-
character(*), parameter :: procedure_name = "GET"
201+
character(*), parameter :: procedure = "GET"
202202

203203
integer(int64) :: key_as_char
204204
integer(int64) :: key_size
@@ -209,7 +209,7 @@ subroutine get_char_key( key, value )
209209
key_as_char = key_size
210210
case(2)
211211
if ( iand( key_size, 1_int64 ) > 0 ) then
212-
error stop module_name // " % " procedure_name // &
212+
error stop module_name // " % " // procedure // &
213213
": Internal Error at stdlib_hashmaps: " // &
214214
"System uses 2 bytes per character, so " // &
215215
"key_size can't be an odd number"

0 commit comments

Comments
 (0)