Skip to content

Commit 1cd2e2e

Browse files
committed
Update example_hashmaps_set_other_data.f90
Tweak to see why CI test fails for this.
1 parent 2ae6665 commit 1cd2e2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example/hashmaps/example_hashmaps_set_other_data.f90

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
program example_set_other_data
22
use stdlib_hashmaps, only: open_hashmap_type
33
use stdlib_hashmap_wrappers, only: fnv_1_hasher, &
4-
fnv_1a_hasher, key_type, other_type, set
4+
fnv_1a_hasher
55
implicit none
66
logical :: exists
77
type(open_hashmap_type) :: map
@@ -17,7 +17,9 @@ program example_set_other_data
1717

1818
print *, 'The entry to have its other data replaced exists = ', exists
1919

20-
call map%get_other_data( [5, 7, 4, 13], data)
20+
call map%get_other_data( [5, 7, 4, 13], data, exists)
21+
22+
print *, 'Get_other_data was successful = ', exists
2123

2224
! Hashmaps return an unlimited polymorphic type as other.
2325
! Must be included in a select type operation to do further operations.

0 commit comments

Comments
 (0)