aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Gather
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/Gather')
-rw-r--r--Source/Particles/Gather/ScaleFields.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/Gather/ScaleFields.H b/Source/Particles/Gather/ScaleFields.H
index ee9533554..cf96ec2c1 100644
--- a/Source/Particles/Gather/ScaleFields.H
+++ b/Source/Particles/Gather/ScaleFields.H
@@ -41,7 +41,7 @@ struct ScaleFields
{
using namespace amrex::literals;
- if (not m_do_scale) return;
+ if (m_do_scale != 0.0_rt) return;
// Scale the fields of particles about to cross the injection plane.
// This only approximates what should be happening. The particles