Skip to content

Commit 17f5ef0

Browse files
committed
fix readability-braces-around-statements issues
1 parent 29ed073 commit 17f5ef0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

multi_physics/QED/QED_tests/test_picsar_schwinger_engine_core.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,12 @@ void test_expected_pair_number(RealType ref = zero<RealType>)
8888
E[i][0]*fe, E[i][1]*fe, E[i][2]*fe, B[i][0]*fb, B[i][1]*fb, B[i][2]*fb,
8989
volume*fv, dt*ft, ref);
9090

91-
if(res_exp[i] <= tolerance<RealType>())
91+
if(res_exp[i] <= tolerance<RealType>()){
9292
BOOST_CHECK_SMALL(res, tolerance<RealType>());
93-
else
93+
}
94+
else{
9495
BOOST_CHECK_SMALL((res-static_cast<RealType>(res_exp[i]))/static_cast<RealType>(res_exp[i]), tolerance<RealType>());
96+
}
9597
}
9698
}
9799

0 commit comments

Comments
 (0)