aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/FieldReduction.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-08 01:55:13 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-07 16:55:13 -0700
commitfa5dc424956cae58ec910bee49e1b9118fc1feb0 (patch)
tree7c7cb88fb407806235878004d12f1c6d3d9b3274 /Source/Diagnostics/ReducedDiags/FieldReduction.cpp
parentfb33708501b986922066f332afa76ea8610ba31a (diff)
downloadWarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.gz
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.tar.zst
WarpX-fa5dc424956cae58ec910bee49e1b9118fc1feb0.zip
Clang-tidy CI test: add 4 new readability checks (#4163)
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/FieldReduction.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/FieldReduction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/FieldReduction.cpp b/Source/Diagnostics/ReducedDiags/FieldReduction.cpp
index 32c8c9653..a0a7af0a8 100644
--- a/Source/Diagnostics/ReducedDiags/FieldReduction.cpp
+++ b/Source/Diagnostics/ReducedDiags/FieldReduction.cpp
@@ -49,7 +49,7 @@ FieldReduction::FieldReduction (std::string rd_name)
const amrex::ParmParse pp_rd_name(rd_name);
// read reduced function with parser
- std::string parser_string = "";
+ std::string parser_string;
utils::parser::Store_parserString(pp_rd_name,"reduced_function(x,y,z,Ex,Ey,Ez,Bx,By,Bz,jx,jy,jz)",
parser_string);
m_parser = std::make_unique<amrex::Parser>(