Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Matrix by
Revision 6:92115bd8c705, committed 2017-10-31
- Comitter:
- DiondeGreef
- Date:
- Tue Oct 31 19:43:29 2017 +0000
- Parent:
- 5:a4014ab0a8cf
- Commit message:
- Niet af
Changed in this revision
| Matrix.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Matrix.cpp Sun Oct 30 16:29:23 2011 +0000
+++ b/Matrix.cpp Tue Oct 31 19:43:29 2017 +0000
@@ -322,6 +322,7 @@
/// Prints out Matrix.
void Matrix::print() const
{
+ printf("\n\r");
for( int i = 0; i < _nRows; i++ )
{
for( int j = 0; j < _nCols; j++ )
@@ -329,7 +330,7 @@
printf( "%.3f, ",_matrix[i][j] );
}
- printf( "\n" );
+ printf( "\r\n" );
}
}
