Skip to content

Commit

Permalink
Apply clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer authored and github-actions[bot] committed Oct 6, 2023
1 parent 12ef939 commit 3184fe1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/solver/impls/imex-bdf2/imex-bdf2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,8 @@ PetscErrorCode IMEXBDF2::solve_implicit(BoutReal curtime, BoutReal gamma) {
KSPGetConvergedReason(ksp, &kreason);
if (kreason < 0) {
if (verbose) {
output << "KSP Failed to converge with reason " << static_cast<int>(kreason) << endl;
output << "KSP Failed to converge with reason " << static_cast<int>(kreason)
<< endl;
}
linear_fails++;
} else {
Expand All @@ -1238,7 +1239,8 @@ PetscErrorCode IMEXBDF2::solve_implicit(BoutReal curtime, BoutReal gamma) {
}
};
if (verbose) {
output << "SNES failed to converge with reason " << static_cast<int>(reason) << endl;
output << "SNES failed to converge with reason " << static_cast<int>(reason)
<< endl;
}
throw PetscLib::SNESFailure(snesUse);
}
Expand Down

0 comments on commit 3184fe1

Please sign in to comment.