Skip to content
Snippets Groups Projects
Commit ce5067aa authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

use std::cout to avoid a format warning

[[Imported from SVN: r7395]]
parent ee1787a8
No related branches found
No related tags found
No related merge requests found
......@@ -218,8 +218,8 @@ void MonotoneMGStep<MatrixType, VectorType>::iterate()
std::cout << "Obstacle disregarded!\n";
std::cout << (*x[level])[i] << std::endl << obstacles[level][i] << std::endl;
printf("level: %d index: %d komponent: %d\n", level, i, j);
printf("is %s critical\n", (critical[i][j]) ? "" : "not");
std::cout << "level: " << level << " index: " << i << " komponent: " << j << std::endl;
std::cout << "is " << ((critical[i][j]) ? "" : "not") << "critical" << std::endl;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment