aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 5e564f36d..17fb42c42 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -340,7 +340,7 @@ WarpX::WarpX ()
// Set default values for particle and cell weights for costs update;
// Default values listed here for the case AMREX_USE_GPU are determined
// from single-GPU tests on Summit.
- if (costs_heuristic_cells_wt<0. && costs_heuristic_particles_wt<0.
+ if (costs_heuristic_cells_wt<=0. && costs_heuristic_particles_wt<=0.
&& WarpX::load_balance_costs_update_algo==LoadBalanceCostsUpdateAlgo::Heuristic)
{
#ifdef AMREX_USE_GPU