Skip to content

Commit

Permalink
ts: Fix a type mismatch
Browse files Browse the repository at this point in the history
There is a build fail when compiling comcot with a recent toolchain. Fix
it by feeding a correct type to the function

Signed-off-by: Andy Chiu <[email protected]>
  • Loading branch information
AndybnACT committed Nov 30, 2023
1 parent f25fdf5 commit a465d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ SUBROUTINE GET_TS (DAT,X0,Y0,LO,LA,ID)
! Z4 = ETAUR*CX*CY
! DAT = Z1+Z2+Z3+Z4
!
CALL GCOMCOT_GET_Z(LA%ID, L1, L2, L3, L4, KI, KJ)
CALL GCOMCOT_GET_Z(LA(K)%ID, L1, L2, L3, L4, KI, KJ)
Z1 = L1*(1.0-CX)*(1.0-CY)
Z2 = L2*(CX)*(1-CY)
Z3 = L3*(1.0-CX)*(CY)
Expand Down

0 comments on commit a465d84

Please sign in to comment.