Skip to content

Commit

Permalink
fix clang-tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
roelof-groenewald committed Dec 17, 2024
1 parent a7304ad commit 1caa4b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ WarpX::AddMagnetostaticFieldLabFrame()

// const amrex::Real magnetostatic_absolute_tolerance = self_fields_absolute_tolerance*PhysConst::c;
// temporary fix!!!
amrex::Real absolute_tolerance = 0.0;
const amrex::Real absolute_tolerance = 0.0;
amrex::Real required_precision;
if constexpr (std::is_same<Real, float>::value) {
required_precision = 1e-5;
}
else {
required_precision = 1e-11;
}
int verbosity = 2;
const int verbosity = 2;

computeVectorPotential(
m_fields.get_mr_levels_alldirs(FieldType::current_fp, finest_level),
Expand Down

0 comments on commit 1caa4b7

Please sign in to comment.