diff --git a/source/max_enuc/main.cpp b/source/max_enuc/main.cpp index 727ff43..6ddf627 100644 --- a/source/max_enuc/main.cpp +++ b/source/max_enuc/main.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -38,8 +37,6 @@ void main_main() return; } - int ntime = narg; - const std::string& filename = amrex::get_command_argument(farg); PlotFileData pf(filename); @@ -48,7 +45,7 @@ void main_main() // we need rho, T, X, and enuc - auto ienuc = std::distance(var_names_pf.cbegin(), std::find(var_names_pf.cbegin(), var_names_pf.cend(), "enuc")); + auto ienuc = static_cast(std::distance(var_names_pf.cbegin(), std::find(var_names_pf.cbegin(), var_names_pf.cend(), "enuc"))); int fine_level = pf.finestLevel();