From 505546e0a022e328e9ed17921a088775db42c338 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Mon, 22 Apr 2024 11:09:23 -0700 Subject: [PATCH] fix RefRation call --- Source/WarpX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 62186e723df..09d15e48c5d 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -904,7 +904,7 @@ WarpX::ReadParameters () } amrex::Print() << "\n"; } else { - AddplasmaRefRatio = RefRatio[0]; + AddplasmaRefRatio = RefRatio(0); } pp_warpx.query("do_dive_cleaning", do_dive_cleaning);