aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.H')
-rw-r--r--Source/Particles/WarpXParticleContainer.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H
index d2c1f380e..7e5add527 100644
--- a/Source/Particles/WarpXParticleContainer.H
+++ b/Source/Particles/WarpXParticleContainer.H
@@ -273,7 +273,8 @@ public:
bool do_splitting = false;
bool initialize_self_fields = false;
- amrex::Real self_fields_required_precision = 1.e-11;
+ amrex::Real self_fields_required_precision =
+ amrex::Real(1.e-11);
int self_fields_max_iters = 200;
// split along diagonals (0) or axes (1)