aboutsummaryrefslogtreecommitdiff
path: root/src/filters.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-01-16 21:07:02 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:11 +0100
commit50e60fde988840d583d13075e3883467098c7cb0 (patch)
tree2c15fd54637967885307cd189df91923c7c72aa4 /src/filters.c
parent073d460319cacdf099b3c6a930db1ff77bb88a61 (diff)
More GSL fudging
Diffstat (limited to 'src/filters.c')
-rw-r--r--src/filters.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/filters.c b/src/filters.c
index 17792b85..ef6011d9 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -20,6 +20,9 @@
#include <string.h>
#include <assert.h>
#include <gsl/gsl_statistics_int.h>
+#ifdef GSL_FUDGE
+#include <gsl/gsl_blas.h>
+#endif
#include "image.h"
@@ -116,3 +119,12 @@ void filter_noise(struct image *image, float *old)
}
}
}
+
+
+#ifdef GSL_FUDGE
+/* Force the linker to bring in CBLAS to make GSL happy */
+void fudge_gslcblas()
+{
+ STATUS("%p\n", cblas_sgemm);
+}
+#endif