Skip to content

Commit

Permalink
update fortran-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jornbr committed Apr 15, 2024
1 parent 5c680c9 commit 7e071e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yaml/yaml_settings.F90
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ function get_path(self, include_file) result(path)
path = ''
value => self
do while (associated(value))
if (allocated(value%path)) then
if (len(value%path) > 0 .and. include_file_) then
if (allocated(value%path) .and. include_file_) then
if (len(value%path) > 0) then
path = value%path // ':' // path
return
end if
Expand Down

0 comments on commit 7e071e9

Please sign in to comment.