3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-24 13:23:37 +01:00

utility : correct a compile macro

- _j notation was not compiled...
This commit is contained in:
Olivier Parcollet 2013-10-21 15:04:16 +02:00
parent b9451e7018
commit a4305f8f2a

View File

@ -2,7 +2,7 @@
#define TRIQS_UTILITY_COMPLEX_OPS_H
#include <complex>
#ifdef TRIQS_COMPILER_IS_C11_COMPLIANT
#ifndef TRIQS_WORKAROUND_INTEL_COMPILER_14_BUGS
inline std::complex<double> operator"" _j ( long double x ) { return std::complex<double>(0,x); }
inline std::complex<double> operator"" _j ( unsigned long long x ) { return std::complex<double>(0,x); }
#endif