Skip to content

Commit fe33a2d

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 580eaab commit fe33a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_io/test/read_wfc_to_rho_test.cpp

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ TEST_F(ReadWfcRhoTest, ReadWfcRho)
238238
}
239239
// std::cout.precision(16);
240240
// std::cout<<chg.rho[0][0]<<std::endl;
241-
if (GlobalV::NPROC == 1)
241+
if (GlobalV::NPROC == 1) {
242242
EXPECT_NEAR(chg.rho[0][0], 8617.076357957576, 1e-8);
243-
else if (GlobalV::NPROC == 4)
243+
} else if (GlobalV::NPROC == 4)
244244
{
245245
const std::vector<double> ref = {8207.849135313403, 35.34776105132742, 8207.849135313403, 35.34776105132742};
246246
EXPECT_NEAR(chg.rho[0][0], ref[GlobalV::MY_RANK], 1e-8);

0 commit comments

Comments
 (0)