blas: add a default implementation of xerbla

This commit is contained in:
Gael Guennebaud
2010-03-02 14:50:41 +01:00
parent a76c296e7f
commit 0ed5edd24d
3 changed files with 20 additions and 4 deletions

16
blas/xerbla.cpp Normal file
View File

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