revert addition of MSVC-compatible complex (moved to lapacke_config.h)
This commit is contained in:
parent
dcdc351272
commit
aa46f1e4e7
|
@ -37,14 +37,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LAPACK_COMPLEX_CUSTOM
|
#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) */
|
/* Complex type (single precision) */
|
||||||
#ifndef lapack_complex_float
|
#ifndef lapack_complex_float
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
@ -81,7 +74,6 @@
|
||||||
#define lapack_complex_double_imag(z) (cimag(z))
|
#define lapack_complex_double_imag(z) (cimag(z))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
#endif /* LAPACK_COMPLEX_CUSTOM */
|
#endif /* LAPACK_COMPLEX_CUSTOM */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue