From 58007e1794783a07620b6a06ec9edc4c046b4bb4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:09:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/simulation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation.hpp b/src/simulation.hpp index 2d9bfd70b..40476039f 100644 --- a/src/simulation.hpp +++ b/src/simulation.hpp @@ -598,7 +598,7 @@ template void AMRSimulation::setInitialCondition rhs[lev].setVal(0); fillPoissonRhsAtLevel(rhs[lev], lev); // calculate phi at t=0 rhs_min = std::min(rhs_min, rhs[lev].min(0)); - } + } amrex::Real abstol = abstolPoisson_ * rhs_min; poissonSolver.solve(amrex::GetVecOfPtrs(phi), amrex::GetVecOfConstPtrs(rhs), reltolPoisson_, abstol);