Logo white

Peter M. Groen / openbr

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • openbr
  • 3rdparty
  • eigen-eigen-5a0156e40feb
  • blas
  • xerbla.cpp
  • updated eigen version
    83d0a685
    Josh Klontz authored
    2017-09-15 15:54:44 -0600  
    Browse Code ยป
xerbla.cpp 389 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

#include <stdio.h>

#if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__)
#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)
{
  printf("Eigen BLAS ERROR #%i: %s\n", *info, msg );
  return 0;
}

#ifdef __cplusplus
}
#endif