We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9f1478 commit 330101eCopy full SHA for 330101e
lapack-netlib/LAPACKE/include/lapack.h
@@ -37,7 +37,15 @@
37
*/
38
39
#ifndef LAPACK_COMPLEX_CUSTOM
40
+#if defined(_MSC_VER)
41
+ #define _CRT_USE_C_COMPLEX_H
42
+ #include <complex.h>
43
+ #define LAPACK_COMPLEX_CUSTOM
44
+ #define lapack_complex_float _Fcomplex
45
+ #define lapack_complex_double _Dcomplex
46
+#endif
47
48
+#else
49
/* Complex type (single precision) */
50
#ifndef lapack_complex_float
51
#ifndef __cplusplus
@@ -74,6 +82,7 @@
74
82
#define lapack_complex_double_imag(z) (cimag(z))
75
83
#endif
76
84
85
77
86
#endif /* LAPACK_COMPLEX_CUSTOM */
78
87
79
88
0 commit comments