mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
fixed warning: -Wunused-local-typedefs
This commit is contained in:
parent
c06ec0f464
commit
afb1a8c124
@ -129,7 +129,6 @@ struct triangular_matrix_vector_product_trmv<Index,Mode,EIGTYPE,ConjLhs,EIGTYPE,
|
|||||||
MKLPREFIX##axpy(&n, &alpha_,(const MKLTYPE*)x, &incx, (MKLTYPE*)_res, &incy); \
|
MKLPREFIX##axpy(&n, &alpha_,(const MKLTYPE*)x, &incx, (MKLTYPE*)_res, &incy); \
|
||||||
/* Non-square case - doesn't fit to MKL ?TRMV. Fall to default triangular product*/ \
|
/* Non-square case - doesn't fit to MKL ?TRMV. Fall to default triangular product*/ \
|
||||||
if (size<(std::max)(rows,cols)) { \
|
if (size<(std::max)(rows,cols)) { \
|
||||||
typedef Matrix<EIGTYPE, Dynamic, Dynamic> MatrixLhs; \
|
|
||||||
if (ConjRhs) x_tmp = rhs.conjugate(); else x_tmp = rhs; \
|
if (ConjRhs) x_tmp = rhs.conjugate(); else x_tmp = rhs; \
|
||||||
x = x_tmp.data(); \
|
x = x_tmp.data(); \
|
||||||
if (size<rows) { \
|
if (size<rows) { \
|
||||||
@ -214,7 +213,6 @@ struct triangular_matrix_vector_product_trmv<Index,Mode,EIGTYPE,ConjLhs,EIGTYPE,
|
|||||||
MKLPREFIX##axpy(&n, &alpha_,(const MKLTYPE*)x, &incx, (MKLTYPE*)_res, &incy); \
|
MKLPREFIX##axpy(&n, &alpha_,(const MKLTYPE*)x, &incx, (MKLTYPE*)_res, &incy); \
|
||||||
/* Non-square case - doesn't fit to MKL ?TRMV. Fall to default triangular product*/ \
|
/* Non-square case - doesn't fit to MKL ?TRMV. Fall to default triangular product*/ \
|
||||||
if (size<(std::max)(rows,cols)) { \
|
if (size<(std::max)(rows,cols)) { \
|
||||||
typedef Matrix<EIGTYPE, Dynamic, Dynamic> MatrixLhs; \
|
|
||||||
if (ConjRhs) x_tmp = rhs.conjugate(); else x_tmp = rhs; \
|
if (ConjRhs) x_tmp = rhs.conjugate(); else x_tmp = rhs; \
|
||||||
x = x_tmp.data(); \
|
x = x_tmp.data(); \
|
||||||
if (size<rows) { \
|
if (size<rows) { \
|
||||||
|
Loading…
Reference in New Issue
Block a user