aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SuperLUSupport/SuperLUSupport.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-11-20 15:30:10 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-11-20 15:30:10 +0100
commit027a846b3404339ec223daa3178e46a0c676e5ad (patch)
treecfec3ffcc3110e15c54faf7961eb044a06534ef2 /Eigen/src/SuperLUSupport/SuperLUSupport.h
parent4522ffd17c9c6cb74049263ea9de0f8a9d35e2b2 (diff)
Use .data() instead of &coeffRef(0).
Diffstat (limited to 'Eigen/src/SuperLUSupport/SuperLUSupport.h')
-rw-r--r--Eigen/src/SuperLUSupport/SuperLUSupport.h2
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;