Skip to content

Commit a224da7

Browse files
committed
fix compile bug
1 parent 2bf18b9 commit a224da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_esolver/esolver_fp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void ESolver_FP::before_all_runners(UnitCell& ucell, const Input_para& inp)
5454
fft_precison = "double";
5555
}
5656
#if (not defined(__ENABLE_FLOAT_FFTW) and (defined(__CUDA) || defined(__RCOM)))
57-
if (this->device == "gpu")
57+
if (fft_device == "gpu")
5858
{
5959
fft_precison = "double";
6060
}

0 commit comments

Comments
 (0)