Skip to content

Commit af32cfe

Browse files
authored
Merge pull request #877 from pxlxingliang/develop
fix(hsolver):correct the input of set_elpahandle in complex<double> case
2 parents 20d994e + 8d72dc6 commit af32cfe

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)