From b301795a3a2fc68a3ffcb267ff981ad2053a1638 Mon Sep 17 00:00:00 2001 From: "Aaron M. Lattanzi" <103702284+AMLattanzi@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:08:36 -0800 Subject: [PATCH] Fix constructor call. (#1972) --- Source/IO/ERF_Plotfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/IO/ERF_Plotfile.cpp b/Source/IO/ERF_Plotfile.cpp index 9c95fb188..c53f2c89c 100644 --- a/Source/IO/ERF_Plotfile.cpp +++ b/Source/IO/ERF_Plotfile.cpp @@ -354,9 +354,9 @@ ERF::WritePlotFile (int which, PlotFileType plotfile_type, Vector p mf_comp += 1; } - MultiFab r_hse(base_state[lev], make_alias, 0, BaseState::r0_comp); - MultiFab p_hse(base_state[lev], make_alias, 1, BaseState::p0_comp); - MultiFab th_hse(base_state[lev], make_alias, 1, BaseState::th0_comp); + MultiFab r_hse(base_state[lev], make_alias, BaseState::r0_comp , 1); + MultiFab p_hse(base_state[lev], make_alias, BaseState::p0_comp , 1); + MultiFab th_hse(base_state[lev], make_alias, BaseState::th0_comp, 1); if (containerHasElement(plot_var_names, "pres_hse")) { MultiFab::Copy(mf[lev],p_hse,0,mf_comp,1,0);