Skip to content

Commit ea9a258

Browse files
committed
fix bug in dsp compute
1 parent c6d3987 commit ea9a258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/source_pw/module_stodft/sto_iter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ void Stochastic_Iter<T, Device>::sum_stoeband(Stochastic_WF<T, Device>& stowf,
568568
const double kweight = this->pkv->wk[ik];
569569
T* hshchi = nullptr;
570570
#ifdef __DSP
571-
base_device::memory::resmem_complex_op<T, Device>()(hshchi);
571+
base_device::memory::resize_memory_op_mt<T, Device>()(hshchi);
572572
#else
573573
resmem_complex_op()(hshchi);
574574
#endif

0 commit comments

Comments
 (0)