Skip to content

Commit

Permalink
fix some type mismatches in fftpack.F
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Nov 3, 2023
1 parent e888d2d commit 7f9f5bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fftpack.F
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ SUBROUTINE scfft(isign,n,scale,x,y,table,work,isys)
SUBROUTINE RFFTF (N,R,WSAVE)
DIMENSION R(1) ,WSAVE(1)
IF (N .EQ. 1) RETURN
CALL RFFTF1 (N,R,WSAVE,WSAVE(N+1),WSAVE(2*N+1))
CALL RFFTF1 (N,R,WSAVE,WSAVE(N+1),INT(WSAVE(2*N+1)))
RETURN
END

Expand All @@ -296,7 +296,7 @@ SUBROUTINE RFFTF (N,R,WSAVE)
SUBROUTINE RFFTB (N,R,WSAVE)
DIMENSION R(1) ,WSAVE(1)
IF (N .EQ. 1) RETURN
CALL RFFTB1 (N,R,WSAVE,WSAVE(N+1),WSAVE(2*N+1))
CALL RFFTB1 (N,R,WSAVE,WSAVE(N+1),INT(WSAVE(2*N+1)))
RETURN
END

Expand All @@ -307,7 +307,7 @@ SUBROUTINE RFFTB (N,R,WSAVE)
C>
C> @author Paul N. Swarztrauber, National Center for Atmospheric Research, Boulder, CO
SUBROUTINE RFFTI (N,WSAVE)
DIMENSION WSAVE(1)
INTEGER :: WSAVE(1)
IF (N .EQ. 1) RETURN
CALL RFFTI1 (N,WSAVE(N+1),WSAVE(2*N+1))
RETURN
Expand Down

0 comments on commit 7f9f5bf

Please sign in to comment.