diff --git a/Eigen/src/Core/IO.h b/Eigen/src/Core/IO.h index c8d5f6379..a7135a111 100644 --- a/Eigen/src/Core/IO.h +++ b/Eigen/src/Core/IO.h @@ -189,7 +189,7 @@ std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& if(align_cols) { // compute the largest width - for(Index j = 1; j < m.cols(); ++j) + for(Index j = 0; j < m.cols(); ++j) for(Index i = 0; i < m.rows(); ++i) { std::stringstream sstr;