aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/xerbla.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-03-02 14:50:41 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-03-02 14:50:41 +0100
commit0ed5edd24dc72404dd9f2a998d7a6b742d29ec9d (patch)
treea1707ff775412891f52c3e2d3cce0748a2e7e6a2 /blas/xerbla.cpp
parenta76c296e7f56e912e265ee44e565c284cbdd011e (diff)
blas: add a default implementation of xerbla
Diffstat (limited to 'blas/xerbla.cpp')
-rw-r--r--blas/xerbla.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/blas/xerbla.cpp b/blas/xerbla.cpp
new file mode 100644
index 000000000..ce43d3c38
--- /dev/null
+++ b/blas/xerbla.cpp
@@ -0,0 +1,16 @@
+
+#include <iostream>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+int xerbla_(char * msg, int *info, int)
+{
+ std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
+}
+
+#ifdef __cplusplus
+}
+#endif