Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Staneker <[email protected]>
  • Loading branch information
reuterbal and MichaelSt98 authored Oct 10, 2024
1 parent 96cfb7d commit 53b2080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki/transformations/single_column/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def extract_vector_sections(cls, section, horizontal):
subsec_body = cls.extract_vector_sections(separator.body, horizontal)
if subsec_body:
subsections += subsec_body
# we need to prevent that the whole 'else_body' is wrapped in a section,
# as 'Conditional's rely on the fact that the first element of the 'else_body'
# we need to prevent that all (possibly nested) 'else_bodies' are completely wrapped as a section,
# as 'Conditional's rely on the fact that the first element of each 'else_body'
# (if 'has_elseif') is a Conditional itself
for ebody in separator.else_bodies:
subsections += cls.extract_vector_sections(ebody, horizontal)
Expand Down

0 comments on commit 53b2080

Please sign in to comment.