We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac2e649 commit 1af03a1Copy full SHA for 1af03a1
Source/Diagnostics/WarpXOpenPMD.cpp
@@ -317,7 +317,7 @@ namespace detail
317
{openPMD::UnitDimension::I, 1.}};
318
} else if( record_name == "mass" ) {
319
return {{openPMD::UnitDimension::M, 1.}};
320
- } else if( record_name == "weighting" ) {
+ } else if( record_name == "weighting" ) { // NOLINT(bugprone-branch-clone)
321
#if defined(WARPX_DIM_1D_Z)
322
return {{openPMD::UnitDimension::L, -2.}};
323
#elif defined(WARPX_DIM_XZ)
@@ -334,7 +334,7 @@ namespace detail
334
return {{openPMD::UnitDimension::M, 1.},
335
{openPMD::UnitDimension::I, -1.},
336
{openPMD::UnitDimension::T, -2.}};
337
- } else {
+ } else { // NOLINT(bugprone-branch-clone)
338
return {};
339
}
340
0 commit comments