Skip to content

Commit 3096085

Browse files
committed
fix bug
1 parent 35d26d6 commit 3096085

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

source/module_hamilt_general/operator.cpp

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,6 @@ typename Operator<T, Device>::hpsi_info Operator<T, Device>::hPsi(hpsi_info& inp
6868
// a "psi" with the bands of needed range
6969
psi::Psi<T, Device> psi_wrapper(const_cast<T*>(tmpsi_in), 1, nbands, psi_input->get_nbasis(), true);
7070

71-
// std::cout << "op->ik : " << op->ik << std::endl;
72-
// std::cout << "psi_input->get_ngk(op->ik) : " << psi_input->get_ngk(op->ik) << std::endl;
73-
// std::cout << "psi_input->get_current_nbas() : " << psi_input->get_current_nbas() << std::endl;
74-
75-
// std::cout << "psi_input->ik : " << psi_input->get_nk() << std::endl;
76-
77-
// std::cout << "psi_input->npol : " << psi_input->npol << std::endl;
78-
79-
80-
8171
switch (op->get_act_type())
8272
{
8373
case 2:
@@ -89,10 +79,8 @@ typename Operator<T, Device>::hpsi_info Operator<T, Device>::hPsi(hpsi_info& inp
8979
psi_input->npol,
9080
tmpsi_in,
9181
this->hpsi->get_pointer(),
92-
// psi_input->get_ngk(op->ik),
93-
// 0,
94-
psi_input->get_current_nbas(),
95-
// psi_input->get_current_nbas() / psi_input->npol,
82+
psi_input->get_ngk(op->ik),
83+
// psi_input->get_current_nbas(),
9684
is_first_node);
9785
break;
9886
}

0 commit comments

Comments
 (0)