consider all columns for aligned output (fixes bug #616)

This commit is contained in:
Christoph Hertzberg 2013-10-17 14:14:06 +02:00
parent ff075def5c
commit ad9dc05663

View File

@ -193,7 +193,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;