File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11#include " ./constants.h"
22#include " ./tool_quit.h"
33#include " assert.h"
4+ #include " ./global_function.h"
45namespace ModuleBase
56{
67
78template <typename REAL>
89template <class T >
910void Chebyshev<REAL>:: calcoef_real(T *ptr, REAL (T::*fun)(REAL))
1011{
11- complex <REAL> *pcoef = (complex <REAL> *)this ->fftw .ccoef ;
12+ std:: complex <REAL> *pcoef = (std:: complex <REAL> *)this ->fftw .ccoef ;
1213
1314 // three point = 2/3 M + 1/3 T;
1415 // -----------------------------------------------
@@ -66,7 +67,7 @@ template<typename REAL>
6667template <class T >
6768void Chebyshev<REAL>::calcoef_complex(T *ptr, std::complex <REAL> (T::*fun)(std::complex <REAL>))
6869{
69- complex <double > *pcoef = (complex <double > *)this ->fftw .ccoef ;
70+ std:: complex <double > *pcoef = ( std:: complex <double > *)this ->fftw .ccoef ;
7071
7172 // three point = 2/3 M + 1/3 T;
7273 // -----------------------------------------------
@@ -153,7 +154,7 @@ template<typename REAL>
153154template <class T >
154155void Chebyshev<REAL>::calcoef_pair(T *ptr, REAL (T::*fun1)(REAL), REAL (T::*fun2)(REAL))
155156{
156- complex <double > *pcoef = (complex <double > *)this ->fftw .ccoef ;
157+ std:: complex <double > *pcoef = ( std:: complex <double > *)this ->fftw .ccoef ;
157158
158159 // three point = 2/3 M + 1/3 T;
159160 // -----------------------------------------------
You can’t perform that action at this time.
0 commit comments