aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Resampling/LevelingThinning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/Resampling/LevelingThinning.cpp')
-rw-r--r--Source/Particles/Resampling/LevelingThinning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/Resampling/LevelingThinning.cpp b/Source/Particles/Resampling/LevelingThinning.cpp
index 8d2516a0f..33ad87630 100644
--- a/Source/Particles/Resampling/LevelingThinning.cpp
+++ b/Source/Particles/Resampling/LevelingThinning.cpp
@@ -40,7 +40,7 @@ LevelingThinning::LevelingThinning (const std::string species_name)
" It is possible that no particle will be removed during resampling");
}
- pp_species_name.query("resampling_algorithm_min_ppc", m_min_ppc);
+ queryWithParser(pp_species_name, "resampling_algorithm_min_ppc", m_min_ppc);
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(m_min_ppc >= 1,
"Resampling min_ppc should be greater than or equal to 1");
}