Skip to content

Commit 361ee5c

Browse files
committed
fix compile
1 parent fc2aeff commit 361ee5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/module_hamilt_pw/hamilt_stodft/sto_tool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ psi::Psi<std::complex<FPTYPE>, Device>* gatherchi_op<FPTYPE, Device>::operator()
142142
}
143143

144144
template struct check_che_op<double, base_device::DEVICE_CPU>;
145+
#ifdef __ENABLE_FLOAT_FFTW
145146
template struct check_che_op<float, base_device::DEVICE_CPU>;
147+
#endif
146148
template struct gatherchi_op<double, base_device::DEVICE_CPU>;
147149
template struct gatherchi_op<float, base_device::DEVICE_CPU>;
148150
#if ((defined __CUDA) || (defined __ROCM))

0 commit comments

Comments
 (0)