diff options
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 1cfb142ea..f31205356 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -871,7 +871,7 @@ WarpX::ReadParameters () std::vector<std::string> lasers_names; pp_lasers.queryarr("names", lasers_names); - if (species_names.size() > 0 || lasers_names.size() > 0) { + if (!species_names.empty() || !lasers_names.empty()) { int particle_shape; if (pp_algo.query("particle_shape", particle_shape) == false) { |