diff --git a/gtsam/base/Matrix.cpp b/gtsam/base/Matrix.cpp index 705d84d25..f9a2e83a9 100644 --- a/gtsam/base/Matrix.cpp +++ b/gtsam/base/Matrix.cpp @@ -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