aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Visitor.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2012-06-24 10:13:28 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2012-06-24 10:13:28 +0200
commit7c32904766065f3a3b706e0b2094ee8895d4b995 (patch)
tree27b52507fc769205c36f4d30e92c9b1e8b29b151 /Eigen/src/Core/Visitor.h
parente46fc8c05c7ce8fb903282dbc30fa72e02d66ff5 (diff)
typo
Diffstat (limited to 'Eigen/src/Core/Visitor.h')
-rw-r--r--Eigen/src/Core/Visitor.h2
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;
}