Commit ca9684b6 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix coeffRef for SubMatrix.

parent 104d6add
......@@ -75,7 +75,7 @@ namespace Eigen
inline Scalar & coeffRef(Index row) const
{
return m_argImpl.coeff(row);
return m_argImpl.coeffRef(row);
}
evaluator<MatrixTypeNestedCleaned> m_argImpl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment