diff options
author | 2015-11-20 15:30:10 +0100 | |
---|---|---|
committer | 2015-11-20 15:30:10 +0100 | |
commit | 027a846b3404339ec223daa3178e46a0c676e5ad (patch) | |
tree | cfec3ffcc3110e15c54faf7961eb044a06534ef2 /Eigen/src/SuperLUSupport/SuperLUSupport.h | |
parent | 4522ffd17c9c6cb74049263ea9de0f8a9d35e2b2 (diff) |
Use .data() instead of &coeffRef(0).
Diffstat (limited to 'Eigen/src/SuperLUSupport/SuperLUSupport.h')
-rw-r--r-- | Eigen/src/SuperLUSupport/SuperLUSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h index 7c644eef6..afb5904e0 100644 --- a/Eigen/src/SuperLUSupport/SuperLUSupport.h +++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h @@ -659,7 +659,7 @@ void SuperLU<MatrixType>::_solve_impl(const MatrixBase<Rhs> &b, MatrixBase<Dest> &m_sluStat, &info, Scalar()); StatFree(&m_sluStat); - if(&x.coeffRef(0) != x_ref.data()) + if(x.derived().data() != x_ref.data()) x = x_ref; m_info = info==0 ? Success : NumericalIssue; |