Skip to content

Commit

Permalink
some fixes for clang-tidy CI (#2942)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Aug 6, 2024
1 parent dfbead9 commit 36c0aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/driver/Castro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ Castro::read_params ()
// in Amr::InitAmr(), right before the ParmParse checks, so if the user opts to
// override our overriding, they can do so.

Amr::setComputeNewDtOnRegrid(1);
Amr::setComputeNewDtOnRegrid(true);

// Read in custom refinement scheme.

Expand Down
4 changes: 2 additions & 2 deletions Source/rotation/Castro_rotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ Castro::construct_new_rotation_source(MultiFab& source, MultiFab& state_old, Mul
{
const int IOProc = ParallelDescriptor::IOProcessorNumber();
Real run_time = ParallelDescriptor::second() - strt_time;

Real llevel = level;
#ifdef BL_LAZY
Lazy::QueueReduction( [=] () mutable {
#endif
ParallelDescriptor::ReduceRealMax(run_time,IOProc);

amrex::Print() << "Castro::construct_new_rotation_source() time = " << run_time << " on level " << level << "\n" << "\n";
amrex::Print() << "Castro::construct_new_rotation_source() time = " << run_time << " on level " << llevel << "\n" << "\n";
#ifdef BL_LAZY
});
#endif
Expand Down

0 comments on commit 36c0aaf

Please sign in to comment.