Remove "using namespace Eigen" from blas/common.h.

This commit is contained in:
Antonio Sánchez
2024-02-22 22:51:42 +00:00
committed by Rasmus Munk Larsen
parent 6ed4d80cc8
commit 8a73c6490f
19 changed files with 503 additions and 335 deletions

View File

@@ -62,6 +62,8 @@ EIGEN_LAPACK_FUNC(getrs)
MatrixType lu(a, *n, *n, *lda);
MatrixType B(b, *n, *nrhs, *ldb);
using Eigen::UnitLower;
using Eigen::Upper;
for (int i = 0; i < *n; ++i) ipiv[i]--;
if (OP(*trans) == NOTR) {
B = PivotsType(ipiv, *n) * B;