Skip to content

Commit 99f10f4

Browse files
committed
fix bug
1 parent 1489157 commit 99f10f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hamilt_pw/hamilt_stodft/sto_wf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void Stochastic_WF<T, Device>::init_com_orbitals()
284284
Device* ctx = {};
285285
if (base_device::get_device_type<Device>(ctx) == base_device::GpuDevice)
286286
{
287-
this->chi0 = new psi::Psi<T, Device>(nks, this->nchip_max, npwx, this->ngk, ture);
287+
this->chi0 = new psi::Psi<T, Device>(nks, this->nchip_max, npwx, this->ngk, true);
288288
}
289289
else
290290
{

0 commit comments

Comments
 (0)