aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-05-23 10:12:19 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:27 +0100
commitaddc3be4b3d8f1d9fab7b9215185fdeb6159f765 (patch)
tree3c3c4c276384af7256bb00ed0245c07802ba26ab
parente8703764e1cebeca0157aa515e805378730d309c (diff)
GSL BLAS fudge needed in utils.c as well
-rw-r--r--src/utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index bfa5c7d4..3d96263e 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -18,6 +18,7 @@
#include <sys/stat.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
+#include <gsl/gsl_blas.h>
#include "utils.h"
#include "image.h"
@@ -634,3 +635,12 @@ char *safe_basename(const char *in)
return res;
}
+
+
+#ifdef GSL_FUDGE
+/* Force the linker to bring in CBLAS to make GSL happy */
+void utils_fudge_gslcblas()
+{
+ STATUS("%p\n", cblas_sgemm);
+}
+#endif