Skip to content

Commit

Permalink
Update src/solvers/cg_solver.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jonah Miller <jonah.maxwell.miller@gmail.com>
  • Loading branch information
lroberts36 and Yurlungur authored Nov 27, 2024
1 parent d4a5a26 commit 0d49d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/cg_solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class CGSolver : public SolverBase {
[&](CGSolver *solver, Mesh *pmesh) {
Real rms_res = std::sqrt(solver->residual.val / pmesh->GetTotalCells());
if (Globals::my_rank == 0 && solver->params_.print_per_step)
printf("%i %e\n", solver->iter_counter, rms_res);
printf("\t%i %e\n", solver->iter_counter, rms_res);
return TaskStatus::complete;
},
this, pmesh);
Expand Down

0 comments on commit 0d49d78

Please sign in to comment.