diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-06-24 10:13:28 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-06-24 10:13:28 +0200 |
commit | 7c32904766065f3a3b706e0b2094ee8895d4b995 (patch) | |
tree | 27b52507fc769205c36f4d30e92c9b1e8b29b151 /Eigen/src/Core/Visitor.h | |
parent | e46fc8c05c7ce8fb903282dbc30fa72e02d66ff5 (diff) |
typo
Diffstat (limited to 'Eigen/src/Core/Visitor.h')
-rw-r--r-- | Eigen/src/Core/Visitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Visitor.h b/Eigen/src/Core/Visitor.h index a9157bbbf..32e1dd2e7 100644 --- a/Eigen/src/Core/Visitor.h +++ b/Eigen/src/Core/Visitor.h @@ -226,7 +226,7 @@ DenseBase<Derived>::maxCoeff(IndexType* rowPtr, IndexType* colPtr) const internal::max_coeff_visitor<Derived> maxVisitor; this->visit(maxVisitor); *rowPtr = maxVisitor.row; - if (col) *col = maxVisitor.col; + if (colPtr) *colPtr = maxVisitor.col; return maxVisitor.res; } |