2010-03-02 14:50:41 +01:00
|
|
|
|
2015-02-10 19:22:05 +01:00
|
|
|
#include <stdio.h>
|
2010-03-02 14:50:41 +01:00
|
|
|
|
2015-02-28 14:53:11 +01:00
|
|
|
#if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__)
|
2011-12-10 19:30:36 +01:00
|
|
|
#define EIGEN_WEAK_LINKING __attribute__((weak))
|
|
|
|
#else
|
|
|
|
#define EIGEN_WEAK_LINKING
|
|
|
|
#endif
|
|
|
|
|
2010-03-02 14:50:41 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2011-12-10 19:30:36 +01:00
|
|
|
EIGEN_WEAK_LINKING int xerbla_(const char *msg, int *info, int) {
|
2015-02-10 19:22:05 +01:00
|
|
|
printf("Eigen BLAS ERROR #%i: %s\n", *info, msg);
|
2010-03-03 09:32:10 +01:00
|
|
|
return 0;
|
2010-03-02 14:50:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|