diff --git a/source/convective_grad/main.cpp b/source/convective_grad/main.cpp index 22bf923..a0bfcef 100644 --- a/source/convective_grad/main.cpp +++ b/source/convective_grad/main.cpp @@ -23,7 +23,6 @@ using namespace amrex; void main_main() { - const int narg = amrex::command_argument_count(); std::string pltfile(diag_rp::plotfile); @@ -110,7 +109,7 @@ void main_main() // output MultiFab - gmf[ilev].define(pf.boxArray(ilev), pf.DistributionMap(ilev), gvarnames.size(), 0); + gmf[ilev].define(pf.boxArray(ilev), pf.DistributionMap(ilev), static_cast(gvarnames.size()), 0); Vector bcr{bcr_default}; auto is_per = is_periodic;