diff --git a/pystencils/include/complex_helper.hpp b/pystencils/include/complex_helper.hpp index 92b8f7c5454fa08d2b82d2ddf56a431ecb06a65d..2950c3850b704aa9c8f6e8529d5d1fb78511d600 100644 --- a/pystencils/include/complex_helper.hpp +++ b/pystencils/include/complex_helper.hpp @@ -7,6 +7,10 @@ #pragma once +extern "C++" { +#ifdef __CUDA_ARCH__ +// TODO +#else #include <complex> template <class U, class V> @@ -64,3 +68,5 @@ auto operator/(const V &scalar, const std::complex<U> &complexNumber) return std::complex<U>{scalar, 0} / complexNumber; } +#endif +}