Skip to content

Commit 96de0d6

Browse files
committed
fix: Add missing intent attributes to subroutine arguments
Resolved fortitude lint errors: - [C061] Added intent(inout) to q_prim_vf and bc_type in s_apply_boundary_patches() (m_boundary_conditions.fpp:233-234) This fixes pre-existing lint violations that were preventing documentation-only PRs from passing CI checks.
1 parent ee4e831 commit 96de0d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Strang = "Strang"
2020
TKE = "TKE"
2121
HSA = "HSA"
2222
infp = "infp"
23+
Sur = "Sur"
2324

2425
[files]
2526
extend-exclude = ["docs/documentation/references*", "tests/", "toolchain/cce_simulation_workgroup_256.sh"]

src/pre_process/m_boundary_conditions.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ contains
230230

231231
impure subroutine s_apply_boundary_patches(q_prim_vf, bc_type)
232232

233-
type(scalar_field), dimension(sys_size) :: q_prim_vf
234-
type(integer_field), dimension(1:num_dims, -1:1) :: bc_type
233+
type(scalar_field), dimension(sys_size), intent(inout) :: q_prim_vf
234+
type(integer_field), dimension(1:num_dims, -1:1), intent(inout) :: bc_type
235235
integer :: i
236236

237237
!< Apply 2D patches to 3D domain

0 commit comments

Comments
 (0)