Skip to content

Commit

Permalink
fix some clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed May 4, 2024
1 parent e32804d commit 14a3403
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/convective_grad/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ using namespace amrex;

void main_main()
{
const int narg = amrex::command_argument_count();

std::string pltfile(diag_rp::plotfile);

Expand Down Expand Up @@ -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<int>(gvarnames.size()), 0);

Vector<BCRec> bcr{bcr_default};
auto is_per = is_periodic;
Expand Down

0 comments on commit 14a3403

Please sign in to comment.