Separate matrix row values with commas

Separating row values with commas is supported by MATLAB so no effect there,
but this also helps when printing with Python and C++ since the output can be
directly copied without modification.
release/4.3a0
Varun Agrawal 2020-02-21 13:56:34 -05:00
parent 56ca889913
commit 0a9cc8ae62
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ void print(const Matrix& A, const string &s, ostream& stream) {
static const Eigen::IOFormat matlab(
Eigen::StreamPrecision, // precision
0, // flags
" ", // coeffSeparator
", ", // coeffSeparator
";\n", // rowSeparator
" \t", // rowPrefix
"", // rowSuffix