From f78bab25e3b4913803aaf6dd0cb6eb0f9a215501 Mon Sep 17 00:00:00 2001 From: huixingjian Date: Thu, 26 Sep 2024 16:55:10 +0200 Subject: [PATCH] missing namespace --- src/laser/MultiLaser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laser/MultiLaser.cpp b/src/laser/MultiLaser.cpp index 202ac72428..6a44584a32 100644 --- a/src/laser/MultiLaser.cpp +++ b/src/laser/MultiLaser.cpp @@ -1102,7 +1102,7 @@ MultiLaser::AdvanceSliceFFT (const amrex::Real dt, int step) const Complex inv_k2a = abs(kx*kx + ky*ky + acoeff) > 0. ? 1._rt/(kx*kx + ky*ky + acoeff) : 0.; rhs_fourier_arr(i,j) *= -inv_k2a; - arr(i,j,rhs_fourier)= -inv_k2a; + arr(i,j,WhichLaserSlice::rhs_fourier)= -inv_k2a; }); // Transform rhs to Fourier space to get solution in sol