Skip to content

Commit aa46f1e

Browse files
authored
revert addition of MSVC-compatible complex (moved to lapacke_config.h)
1 parent dcdc351 commit aa46f1e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lapack-netlib/LAPACKE/include/lapack.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,7 @@
3737
*/
3838

3939
#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
4640

47-
#else
4841
/* Complex type (single precision) */
4942
#ifndef lapack_complex_float
5043
#ifndef __cplusplus
@@ -81,7 +74,6 @@
8174
#define lapack_complex_double_imag(z) (cimag(z))
8275
#endif
8376

84-
#endif
8577
#endif /* LAPACK_COMPLEX_CUSTOM */
8678

8779

0 commit comments

Comments
 (0)