Skip to content

Commit

Permalink
access_set_source -> access_add_source
Browse files Browse the repository at this point in the history
  • Loading branch information
jornbr committed Feb 21, 2024
1 parent 8c8c0b2 commit 08e9bc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fabm_types.F90
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ module fabm_types

integer, parameter, public :: access_none = 0, &
access_read = 1, &
access_set_source = 2, &
access_state = ior(access_read,access_set_source)
access_add_source = 2, &
access_state = ior(access_read, access_add_source)

integer, parameter, public :: store_index_none = -1

Expand Down Expand Up @@ -2788,7 +2788,7 @@ function get_aggregate_variable_access(self, standard_variable, access) result(l
self%first_aggregate_variable_access => aggregate_variable_access
end if
link => aggregate_variable_access%link
if (present(access)) link%target%fake_state_variable = link%target%fake_state_variable .or. iand(access, access_set_source) /= 0
if (present(access)) link%target%fake_state_variable = link%target%fake_state_variable .or. iand(access, access_add_source) /= 0
end function get_aggregate_variable_access

function get_free_unit() result(unit)
Expand Down

0 comments on commit 08e9bc2

Please sign in to comment.