Skip to content

Commit 9860e05

Browse files
committed
Fix minor issues found by C-I tests
int/runge_kutta_tlm.f90 - Add a missing & continuation character in USE statement int/sdirk.f90 - Replace WLAMCH call by EPSILON util/blas.F90 - Explicitly declare loop index i Signed-off-by: Bob Yantosca <[email protected]>
1 parent be3b52f commit 9860e05

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

int/runge_kutta_tlm.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ MODULE KPP_ROOT_Integrator
2121
USE KPP_ROOT_Global
2222
USE KPP_ROOT_Jacobian
2323
USE KPP_ROOT_LinearAlgebra
24-
USE KPP_ROOT_LinearAlgebra, ONLY : KppDecomp, KppSolve,
24+
USE KPP_ROOT_LinearAlgebra, ONLY : KppDecomp, KppSolve, &
2525
KppDecompCmplx, KppSolveCmplx
2626

2727
IMPLICIT NONE

int/sdirk.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ SUBROUTINE SDIRK(N, Tinitial, Tfinal, Y, RelTol, AbsTol, &
364364
END IF
365365

366366
!~~~> Unit roundoff (1+Roundoff>1)
367-
Roundoff = WLAMCH('E')
367+
Roundoff = EPSILON( 0.0_dp )
368368

369369
!~~~> Lower bound on the step size: (positive value)
370370
IF (RCNTRL(1) == ZERO) THEN

util/blas.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ SUBROUTINE WGEFA(N,A,Ipvt,info)
9595
INTEGER :: N,Ipvt(N),info
9696
KPP_REAL :: A(N,N)
9797
KPP_REAL :: t, dmax, da
98-
INTEGER :: j,k,l
98+
INTEGER :: i,j,k,l
9999
KPP_REAL, PARAMETER :: ZERO = 0.0, ONE = 1.0
100100

101101
info = 0
@@ -166,7 +166,7 @@ SUBROUTINE WGESL(Trans,N,A,Ipvt,b)
166166
CHARACTER :: trans
167167
KPP_REAL :: A(N,N),b(N)
168168
KPP_REAL :: t
169-
INTEGER :: k,kb,l
169+
INTEGER :: i, k,kb,l
170170

171171

172172
SELECT CASE (Trans)

0 commit comments

Comments
 (0)