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

  1. #include <iostream>
  2. #if (defined __GNUC__)
  3. #define EIGEN_WEAK_LINKING __attribute__ ((weak))
  4. #else
  5. #define EIGEN_WEAK_LINKING
  6. #endif
  7. #ifdef __cplusplus
  8. extern "C"
  9. {
  10. #endif
  11. EIGEN_WEAK_LINKING int xerbla_(const char * msg, int *info, int)
  12. {
  13. std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
  14. return 0;
  15. }
  16. #ifdef __cplusplus
  17. }
  18. #endif