Use .data() instead of &coeffRef(0).

This commit is contained in:
Gael Guennebaud 2015-11-20 15:30:10 +01:00
parent 4522ffd17c
commit 027a846b34

View File

@ -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;