aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 24e3ceb30..8d4e98462 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -86,7 +86,7 @@ using namespace amrex;
Vector<Real> WarpX::E_external_grid(3, 0.0);
Vector<Real> WarpX::B_external_grid(3, 0.0);
-std::string WarpX::authors = "";
+std::string WarpX::authors;
std::string WarpX::B_ext_grid_s = "default";
std::string WarpX::E_ext_grid_s = "default";
bool WarpX::add_external_E_field = false;
@@ -546,7 +546,7 @@ WarpX::ReadParameters ()
ablastr::warn_manager::GetWMInstance().SetAlwaysWarnImmediately(always_warn_immediately);
// Set the WarnPriority threshold to decide if WarpX has to abort when a warning is recorded
- if(std::string str_abort_on_warning_threshold = "";
+ if(std::string str_abort_on_warning_threshold;
pp_warpx.query("abort_on_warning_threshold", str_abort_on_warning_threshold)){
std::optional<ablastr::warn_manager::WarnPriority> abort_on_warning_threshold = std::nullopt;
if (str_abort_on_warning_threshold == "high")