Skip to content
Snippets Groups Projects
Commit 931e4e99 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : one more bug ... from my same commit again ...

parent cc1bb524
No related branches found
No related tags found
No related merge requests found
......@@ -490,7 +490,7 @@ class fullMatrix
#endif
;
void print(const std::string name = "") const
void print(const std::string name = "", const char *format = "%12.5E ") const
{
printf("Printing matrix %s:\n", name.c_str());
int ni = size1();
......@@ -498,7 +498,7 @@ class fullMatrix
for(int I = 0; I < ni; I++){
printf(" ");
for(int J = 0; J < nj; J++){
printf("%12.5E ", (*this)(I, J));
printf(format, (*this)(I, J));
}
printf("\n");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment