aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpXUtil.cpp')
-rw-r--r--Source/WarpXUtil.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WarpXUtil.cpp b/Source/WarpXUtil.cpp
index 4a884330a..eb0eec92b 100644
--- a/Source/WarpXUtil.cpp
+++ b/Source/WarpXUtil.cpp
@@ -38,8 +38,9 @@ void ReadBoostedFrameParameters(Real& gamma_boost, Real& beta_boost,
void ConvertLabParamsToBoost()
{
- Real gamma_boost = 1., beta_boost = 0.;
- int max_level = 0;
+
+ Real gamma_boost, beta_boost;
+ int max_level;
Vector<int> boost_direction {0,0,0};
ReadBoostedFrameParameters(gamma_boost, beta_boost, boost_direction);