Skip to content

Conversation

@Daisuke897
Copy link
Contributor

In the source code, the intent of the variable "conflict" in the procedure "map_entry" is "out", whereas in the documentation it is "in".
I corrected it from "in" to "out" on the documentation.

module subroutine map_chain_entry(map, key, other, conflict)
!
! Inserts an entry innto the hash map
! Arguments:
!! map - the hash table of interest
!! key - the key identifying the entry
!! other - other data associated with the key
!! conflict - logical flag indicating whether the entry key conflicts
!! with an existing key
!
class(chaining_hashmap_type), intent(inout) :: map
type(key_type), intent(in) :: key
type(other_type), intent(in), optional :: other
logical, intent(out), optional :: conflict
end subroutine map_chain_entry

Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you @Daisuke897 for this fix.

@jvdp1 jvdp1 merged commit d379587 into fortran-lang:master Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants