Browse Source

fix second instance of complex.h for c++ as well

tags/v0.3.6^2
Martin Kroeker GitHub 6 years ago
parent
commit
1391fc46d2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      lapack-netlib/LAPACKE/include/lapacke.h

+ 8
- 0
lapack-netlib/LAPACKE/include/lapacke.h View File

@@ -70,7 +70,11 @@

/* Complex type (single precision) */
#ifndef lapack_complex_float
#ifndef __cplusplus
#include <complex.h>
#else
#include <complex>
#endif
#define lapack_complex_float float _Complex
#endif

@@ -86,7 +90,11 @@ lapack_complex_float lapack_make_complex_float( float re, float im );

/* Complex type (double precision) */
#ifndef lapack_complex_double
#ifndef __cplusplus
#include <complex.h>
#else
#include <complex>
#endif
#define lapack_complex_double double _Complex
#endif



Loading…
Cancel
Save