Skip to content

Commit

Permalink
Standard-conforming interoperability with C. (#113)
Browse files Browse the repository at this point in the history
Thanks Asitav Mishra for unvieling this issue!
  • Loading branch information
p-costa authored Mar 8, 2024
1 parent 0d8792d commit 99b706e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fft.f90
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
!
! -
module mod_fft
use, intrinsic :: iso_c_binding , only: C_INT
use, intrinsic :: iso_c_binding, only: C_INT,c_intptr_t
use mod_common_mpi, only: ierr
use mod_fftw_param
use mod_types
Expand Down Expand Up @@ -47,7 +47,7 @@ subroutine fftini(ng,n_x,n_y,bcxy,c_or_f,arrplan,normfft)
integer :: ix,iy
#if defined(_OPENACC)
integer :: istat,batch
integer(int_ptr_kind()) :: wsize,max_wsize
integer(c_intptr_t) :: wsize,max_wsize
#endif
#if defined(_SINGLE_PRECISION)
!$ call sfftw_init_threads(ierr)
Expand Down

0 comments on commit 99b706e

Please sign in to comment.