Merge pull request #1998 from martin-frbg/issue1992
Include complex rather than complex.h in C++ contexts
This commit is contained in:
commit
817fe9865c
|
@ -86,7 +86,11 @@ lapack_complex_float lapack_make_complex_float( float re, float im );
|
||||||
|
|
||||||
/* Complex type (double precision) */
|
/* Complex type (double precision) */
|
||||||
#ifndef lapack_complex_double
|
#ifndef lapack_complex_double
|
||||||
|
#ifndef __cplusplus
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
|
#else
|
||||||
|
#include <complex>
|
||||||
|
#endif
|
||||||
#define lapack_complex_double double _Complex
|
#define lapack_complex_double double _Complex
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue