Skip to content

Commit

Permalink
Use IW_NumOuts consistently inside associate block
Browse files Browse the repository at this point in the history
  • Loading branch information
deslaughter committed Oct 9, 2024
1 parent 8624e55 commit c1cbbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aerodyn/src/AeroDyn_Inflow.f90
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ subroutine ADI_CalcOutput(t, u, p, x, xd, z, OtherState, y, m, errStat, errMsg)
!TODO: this assumes one rotor!!!
associate(AD_NumOuts => p%AD%rotors(1)%NumOuts + p%AD%rotors(1)%BldNd_TotNumOuts, &
IW_NumOuts => m%IW%p%NumOuts)
y%WriteOutput(1:IW_NumOuts) = y%IW_WriteOutput(1:m%IW%p%NumOuts)
y%WriteOutput(1:IW_NumOuts) = y%IW_WriteOutput(1:IW_NumOuts)
y%WriteOutput(IW_NumOuts+1:p%NumOuts) = y%AD%rotors(1)%WriteOutput(1:AD_NumOuts)
end associate

Expand Down

0 comments on commit c1cbbc2

Please sign in to comment.