Skip to content

Commit a28302a

Browse files
committed
Merge branch 'hotfix' of https://github.com/Qianruipku/abacus-develop into hotfix
2 parents 1885acf + a035323 commit a28302a

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

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)