Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers authored Mar 8, 2024
1 parent dffb449 commit 42bed54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/EB/AMReX_WriteEBSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void WriteEBSurface (const BoxArray & ba, const DistributionMapping & dmap, cons

const auto & sfab = static_cast<EBFArrayBox const &>(mf_ba[mfi]);
const auto & my_flag = sfab.getEBCellFlagFab();
auto my_flag_ptr = &my_flag;
const auto * my_flag_ptr = &my_flag;

const Box & bx = mfi.validbox();

Expand Down Expand Up @@ -95,7 +95,7 @@ void WriteEBSurface (const BoxArray & ba, const DistributionMapping & dmap, cons

const auto & sfab = static_cast<EBFArrayBox const &>(mf_ba[mfi]);
const auto & my_flag = sfab.getEBCellFlagFab();
auto my_flag_ptr = &my_flag;
const auto * my_flag_ptr = &my_flag;

const Box & bx = mfi.validbox();

Expand Down

0 comments on commit 42bed54

Please sign in to comment.