Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed May 4, 2024
1 parent 62bfa88 commit eabd92f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/max_enuc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <AMReX_MultiFabUtil.H>
#include <AMReX_ParallelDescriptor.H>
#include <limits>
#include <iterator>
#include <fstream>
#include <cmath>
#include <iterator>
Expand Down Expand Up @@ -38,8 +37,6 @@ void main_main()
return;
}

int ntime = narg;

const std::string& filename = amrex::get_command_argument(farg);

PlotFileData pf(filename);
Expand All @@ -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<int>(std::distance(var_names_pf.cbegin(), std::find(var_names_pf.cbegin(), var_names_pf.cend(), "enuc")));

int fine_level = pf.finestLevel();

Expand Down

0 comments on commit eabd92f

Please sign in to comment.