Skip to content

Commit

Permalink
reinstate setting idx to no_exist_idx after it is modified by const_g…
Browse files Browse the repository at this point in the history
…et_index
  • Loading branch information
Courtney Peverley committed Jul 23, 2024
1 parent 4609b76 commit 0d0e346
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/physics/utils/physics_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ integer function find_input_name_idx(stdname, use_init_variables, constituent_in
if (find_input_name_idx >= 0) then
constituent_index = find_input_name_idx
is_constituent = .true.
else
find_input_name_idx = no_exist_idx
end if

!Loop through physics variable standard names:
Expand Down

0 comments on commit 0d0e346

Please sign in to comment.