aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/xerbla.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-02-10 19:22:05 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-02-10 19:22:05 +0100
commitdeecff97edfb6f75e7613e1db97a1e3e5504e971 (patch)
tree2197246669b52d190fd0cd15e1938624acffb895 /blas/xerbla.cpp
parentc6e8caf0900ae303e9e7399bed00af705015ff17 (diff)
typo
Diffstat (limited to 'blas/xerbla.cpp')
-rw-r--r--blas/xerbla.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/blas/xerbla.cpp b/blas/xerbla.cpp
index 0422f79b7..8775b88cd 100644
--- a/blas/xerbla.cpp
+++ b/blas/xerbla.cpp
@@ -1,5 +1,5 @@
-#include <iostream>
+#include <stdio.h>
#if (defined __GNUC__) && (!defined __MINGW32__)
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
@@ -14,7 +14,7 @@ extern "C"
EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
{
- std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
+ printf("Eigen BLAS ERROR #%i: %s\n", *info, msg );
return 0;
}