Skip to content

Commit 9fa4c9c

Browse files
committed
fix the typo
1 parent 0badb30 commit 9fa4c9c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/src_pw/test/diago_david_test.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
* Class Diago_David is used to solve the eigenvalues
2020
* This unittest test the function Diago_David::diag()
2121
* with different examples.
22-
* - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 90%
23-
* - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 50%
24-
* - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 0%
25-
* - the Halmit matrix read from "data-H"
22+
* - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 90%
23+
* - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 50%
24+
* - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 0%
25+
* - the hamilt matrix read from "data-H"
2626
*
2727
* The test is passed when the eignvalues are closed to these calculated by LAPACK.
2828
*
@@ -92,7 +92,7 @@ class DiagoDavPrepare
9292

9393
class DiagoDavTest : public ::testing::TestWithParam<DiagoDavPrepare> {};
9494

95-
TEST_P(DiagoDavTest,RandomHalmit)
95+
TEST_P(DiagoDavTest,RandomHamilt)
9696
{
9797
DiagoDavPrepare ddp = GetParam();
9898
if (DETAILINFO) std::cout << "npw=" << ddp.npw << ", nband=" << ddp.nband << ", sparsity="

0 commit comments

Comments
 (0)