You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
355 B
23 lines
355 B
|
|
#include <iostream>
|
|
|
|
#if (defined __GNUC__)
|
|
#define EIGEN_WEAK_LINKING __attribute__ ((weak))
|
|
#else
|
|
#define EIGEN_WEAK_LINKING
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
|
|
{
|
|
std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
|
|
return 0;
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|