Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
* main:
  Bump version to 1.5.1
  Fix precision of PGW argument in gpu/TRANS_INQ
  • Loading branch information
wdeconinck committed Dec 19, 2024
2 parents 5a0a34e + 163ae8e commit a0f1455
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1
2 changes: 1 addition & 1 deletion src/trans/cpu/external/trans_inq.F90
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
IF(UBOUND(PGW,1) < R%NDGL) THEN
CALL ABORT_TRANS('TRANS_INQ: PGW TOO SMALL')
ELSE
PGW(1:R%NDGL) = F%RW
PGW(1:R%NDGL) = REAL(F%RW,JPRB)
ENDIF
ENDIF

Expand Down
4 changes: 2 additions & 2 deletions src/trans/gpu/external/trans_inq.F90
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KNMENG(:)

REAL(KIND=JPRD) ,OPTIONAL, INTENT(OUT) :: PMU(:)
REAL(KIND=JPRD) ,OPTIONAL, INTENT(OUT) :: PGW(:)
REAL(KIND=JPRB) ,OPTIONAL, INTENT(OUT) :: PGW(:)
REAL(KIND=JPRB) ,OPTIONAL, INTENT(OUT) :: PRPNM(:,:)
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KLEI3
INTEGER(KIND=JPIM) ,OPTIONAL, INTENT(OUT) :: KSPOLEGL
Expand Down Expand Up @@ -417,7 +417,7 @@ SUBROUTINE TRANS_INQ(KRESOL,KSPEC,KSPEC2,KSPEC2G,KSPEC2MX,KNUMP,&
IF(UBOUND(PGW,1) < R%NDGL) THEN
CALL ABORT_TRANS('TRANS_INQ: PGW TOO SMALL')
ELSE
PGW(1:R%NDGL) = F%RW
PGW(1:R%NDGL) = REAL(F%RW,JPRB)
ENDIF
ENDIF

Expand Down

0 comments on commit a0f1455

Please sign in to comment.