Skip to content

Commit 3338d7e

Browse files
committed
test: decrease the test system in HSolver_dav
1 parent 9d97b8a commit 3338d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/module_hsolver/test/diago_david_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ TEST_P(DiagoDavTest,RandomHamilt)
161161
INSTANTIATE_TEST_SUITE_P(VerifyDiag,DiagoDavTest,::testing::Values(
162162
//DiagoDavPrepare(int nband, int npw, int sparsity, int order,double eps,int maxiter)
163163
DiagoDavPrepare(10,100,0,4,1e-5,500),
164-
DiagoDavPrepare(20,500,7,4,1e-5,500),
165-
DiagoDavPrepare(50,1000,8,4,1e-5,500)
164+
DiagoDavPrepare(20,500,7,4,1e-5,500)
165+
//DiagoDavPrepare(50,1000,8,4,1e-5,500)
166166
//DiagoDavPrepare(20,2000,8,4,1e-5,500)
167167
));
168168

@@ -174,7 +174,7 @@ TEST(DiagoDavRealSystemTest,dataH)
174174
ifs.close();
175175
DIAGOTEST::hmatrix = hmatrix;
176176
DIAGOTEST::npw = hmatrix.nc;
177-
int nband = max(hmatrix.nc/4,1);
177+
int nband = max(hmatrix.nc/20,1);
178178

179179
DiagoDavPrepare ddp(nband,DIAGOTEST::npw,0,2,1e-5,500);
180180

0 commit comments

Comments
 (0)