From 7c32904766065f3a3b706e0b2094ee8895d4b995 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 24 Jun 2012 10:13:28 +0200 Subject: [PATCH] typo --- Eigen/src/Core/Visitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::maxCoeff(IndexType* rowPtr, IndexType* colPtr) const internal::max_coeff_visitor maxVisitor; this->visit(maxVisitor); *rowPtr = maxVisitor.row; - if (col) *col = maxVisitor.col; + if (colPtr) *colPtr = maxVisitor.col; return maxVisitor.res; }