use of passed in stream for print capture

release/4.3a0
Varun Agrawal 2021-01-19 15:23:14 -05:00
parent 6f6588457b
commit 56eb1bb808
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ const Eigen::IOFormat& matlabFormat() {
/* ************************************************************************* */
//3 argument call
void print(const Matrix& A, const string &s, ostream& stream) {
cout << s << A.format(matlabFormat()) << endl;
stream << s << A.format(matlabFormat()) << endl;
}
/* ************************************************************************* */