mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-04 17:54:07 +08:00
consider all columns for aligned output (fixes bug #616)
This commit is contained in:
parent
ff075def5c
commit
ad9dc05663
@ -193,7 +193,7 @@ std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat&
|
|||||||
if(align_cols)
|
if(align_cols)
|
||||||
{
|
{
|
||||||
// compute the largest width
|
// 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)
|
for(Index i = 0; i < m.rows(); ++i)
|
||||||
{
|
{
|
||||||
std::stringstream sstr;
|
std::stringstream sstr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user