Skip to content

Commit eecf914

Browse files
committed
fix pyabacus build
1 parent 83e7e41 commit eecf914

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/pyabacus/src/hsolver/py_hsolver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ void bind_hsolver(py::module& m)
121121
eigenvectors to be calculated.
122122
tol : double
123123
The tolerance for the convergence.
124+
diag_ethr: np.ndarray
125+
The tolerance vector.
124126
max_iter : int
125127
The maximum number of iterations.
126128
use_paw : bool
@@ -130,6 +132,7 @@ void bind_hsolver(py::module& m)
130132
"precond_vec"_a,
131133
"dav_ndim"_a,
132134
"tol"_a,
135+
"diag_ethr"_a,
133136
"max_iter"_a,
134137
"use_paw"_a,
135138
"comm_info"_a)

0 commit comments

Comments
 (0)