mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove return int types from BLAS/LAPACK functions.
This commit is contained in:
@@ -13,19 +13,8 @@
|
||||
#include "../blas/common.h"
|
||||
#include "lapack.h"
|
||||
|
||||
#define EIGEN_LAPACK_FUNC(FUNC, ARGLIST) \
|
||||
extern "C" { \
|
||||
int EIGEN_BLAS_FUNC(FUNC) ARGLIST; \
|
||||
} \
|
||||
int EIGEN_BLAS_FUNC(FUNC) \
|
||||
ARGLIST
|
||||
#define EIGEN_LAPACK_FUNC(FUNC) EIGEN_BLAS_FUNC(FUNC)
|
||||
|
||||
typedef Eigen::Map<Eigen::Transpositions<Eigen::Dynamic, Eigen::Dynamic, int> > PivotsType;
|
||||
|
||||
#if ISCOMPLEX
|
||||
#define EIGEN_LAPACK_ARG_IF_COMPLEX(X) X,
|
||||
#else
|
||||
#define EIGEN_LAPACK_ARG_IF_COMPLEX(X)
|
||||
#endif
|
||||
|
||||
#endif // EIGEN_LAPACK_COMMON_H
|
||||
|
||||
Reference in New Issue
Block a user