feature: change rowPrefix to an indent. Now all columns are aligned

release/4.3a0
lvzhaoyang 2015-10-22 15:04:53 -04:00
parent 8379ab16c7
commit 0b2d4f1182
2 changed files with 4 additions and 4 deletions

View File

@ -189,7 +189,7 @@ void print(const Matrix& A, const string &s, ostream& stream) {
0, // flags
" ", // coeffSeparator
";\n", // rowSeparator
" ", // rowPrefix
" \t", // rowPrefix
"", // rowSuffix
"[\n", // matPrefix
"\n ]" // matSuffix

View File

@ -349,11 +349,11 @@ void JacobianFactor::print(const string& s,
const KeyFormatter& formatter) const {
static const Eigen::IOFormat matlab(
Eigen::StreamPrecision, // precision
0, // flags
0, // flags
" ", // coeffSeparator
";\n", // rowSeparator
" ", // rowPrefix
"", // rowSuffix
"\t", // rowPrefix
"", // rowSuffix
"[\n", // matPrefix
"\n ]" // matSuffix
);