mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix fft implementation
This commit is contained in:
parent
07b5f69ebb
commit
d1fc657c1f
5 changed files with 72 additions and 17 deletions
|
@ -33,12 +33,12 @@ namespace sprout {
|
|||
return x.imag();
|
||||
}
|
||||
template<typename T>
|
||||
inline SPROUT_CXX14_CONSTEXPR T&
|
||||
inline SPROUT_CONSTEXPR T&
|
||||
real(sprout::complex<T>& x) {
|
||||
return x.real();
|
||||
}
|
||||
template<typename T>
|
||||
inline SPROUT_CXX14_CONSTEXPR T&
|
||||
inline SPROUT_CONSTEXPR T&
|
||||
imag(sprout::complex<T>& x) {
|
||||
return x.imag();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue