This commit is contained in:
Gael Guennebaud
2015-02-10 19:22:05 +01:00
parent c6e8caf090
commit deecff97ed
5 changed files with 7 additions and 8 deletions

View File

@@ -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;
}