revert addition of MSVC-compatible complex (moved to lapacke_config.h)

This commit is contained in:
Martin Kroeker 2023-12-12 23:07:48 +01:00 committed by GitHub
parent dcdc351272
commit aa46f1e4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -37,14 +37,7 @@
*/
#ifndef LAPACK_COMPLEX_CUSTOM
#if defined(_MSC_VER)
#define _CRT_USE_C_COMPLEX_H
#include <complex.h>
#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float _Fcomplex
#define lapack_complex_double _Dcomplex
#else
/* Complex type (single precision) */
#ifndef lapack_complex_float
#ifndef __cplusplus
@ -81,7 +74,6 @@
#define lapack_complex_double_imag(z) (cimag(z))
#endif
#endif
#endif /* LAPACK_COMPLEX_CUSTOM */