From a0c0fa137b7443dc402ac94a94d19759a41fa47b Mon Sep 17 00:00:00 2001 From: Josh Romero Date: Mon, 6 Jul 2026 13:19:00 -0700 Subject: [PATCH] Address iso_c_binding warning in Fortran poisson example. Signed-off-by: Josh Romero --- examples/fortran/poisson/poisson.f90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/fortran/poisson/poisson.f90 b/examples/fortran/poisson/poisson.f90 index 2e42c48..ce4ec3c 100644 --- a/examples/fortran/poisson/poisson.f90 +++ b/examples/fortran/poisson/poisson.f90 @@ -52,7 +52,8 @@ program main real(8), allocatable :: kx(:), ky(:), kz(:) real(8), device, allocatable :: kx_d(:), ky_d(:), kz_d(:) - complex(8), allocatable :: phi(:), ua(:,:,:) + complex(8), allocatable, target :: phi(:) + complex(8), allocatable :: ua(:,:,:) complex(8), device, allocatable :: phi_d(:) complex(8), pointer, device, contiguous :: work_d(:)