mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
utility : correct a compile macro
- _j notation was not compiled...
This commit is contained in:
parent
b9451e7018
commit
a4305f8f2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user