Skip to content

Commit 8d72dc6

Browse files
committed
fix(hsolver):correct the input of set_elpahandle of
complex<double> case
1 parent 809e936 commit 8d72dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hsolver/diago_elpa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void DiagoElpa::diag(hamilt::Hamilt *phm_in, psi::Psi<std::complex<double>> &psi
6363
static bool has_set_elpa_handle = false;
6464
if (!has_set_elpa_handle)
6565
{
66-
set_elpahandle(handle, h_mat.desc, h_mat.col, h_mat.row, GlobalV::NBANDS);
66+
set_elpahandle(handle, h_mat.desc, h_mat.row, h_mat.col, GlobalV::NBANDS);
6767
has_set_elpa_handle = true;
6868
}
6969

0 commit comments

Comments
 (0)