File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
python/pyabacus/src/hsolver Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ class PyDiagoDavSubspace
101101
102102 int diag (
103103 std::function<py::array_t <std::complex <double >>(py::array_t <std::complex <double >>)> mm_op,
104- std::vector<double> precond_vec,
104+ std::vector<double>& precond_vec,
105105 int dav_ndim,
106106 double tol,
107107 int max_iter,
108108 bool need_subspace,
109- std::vector<double> diag_ethr,
109+ std::vector<double>& diag_ethr,
110110 bool scf_type,
111111 hsolver::diag_comm_info comm_info
112112 ) {
Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ class PyDiagoDavid
101101
102102 int diag (
103103 std::function<py::array_t <std::complex <double >>(py::array_t <std::complex <double >>)> mm_op,
104- std::vector<double> precond_vec,
104+ std::vector<double>& precond_vec,
105105 int dav_ndim,
106106 double tol,
107- std::vector<double> diag_ethr,
107+ std::vector<double>& diag_ethr,
108108 int max_iter,
109109 bool use_paw,
110110 hsolver::diag_comm_info comm_info
You can’t perform that action at this time.
0 commit comments