Skip to content

Instantly share code, notes, and snippets.

View huashiyiqike's full-sized avatar

Allen Lyu huashiyiqike

  • Tsinghua
  • Beijing, China
View GitHub Profile
anonymous
anonymous / f77_complex.diff
Created September 13, 2012 21:53
Patch to make f77blas.h compatible with compilers which lack C99 complex number
diff --git a/common.h b/common.h
index 3718cde..b4dc5de 100644
--- a/common.h
+++ b/common.h
@@ -389,10 +389,12 @@ typedef int blasint;
#define OPENBLAS_COMPLEX_C99
typedef float _Complex openblas_complex_float;
typedef double _Complex openblas_complex_double;
+ typedef xdouble _Complex openblas_complex_xdouble;
#else