Skip to content

Commit

Permalink
Remove an unnecessary call to WarpX::GetInstance()
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Jan 7, 2025
1 parent c137645 commit 02ae15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Parallelization/WarpXRegrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ WarpX::ComputeCostsHeuristic (amrex::Vector<std::unique_ptr<amrex::LayoutData<am

for (int lev = 0; lev <= finest_level; ++lev)
{
const auto & mypc_ref = GetInstance().GetPartContainer();
const auto & mypc_ref = GetPartContainer();
const auto nSpecies = mypc_ref.nSpecies();

// Species loop
Expand Down

0 comments on commit 02ae15c

Please sign in to comment.