Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 24, 2024
1 parent 59ba81a commit 1960528
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Diagnostics/FlushFormats/FlushFormatPlotPlus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,12 @@ void FlushFormatPlotPlus::DefaultWriter(const std::string& prefix,
PinnedMemoryParticleContainer* pinned_pc = part_diag.getPinnedParticleContainer();
PinnedMemoryParticleContainer tmp;
if (use_pinned_pc) {
tmp = pinned_pc->make_alike<amrex::PinnedArenaAllocator>();
tmp = pinned_pc->make_alike<amrex::PinnedArenaAllocator>();

CopyPtls(tmp, time, pc, pinned_pc, part_diag);
CopyPtls(tmp, time, pc, pinned_pc, part_diag);
} else {
tmp = pc->make_alike<amrex::PinnedArenaAllocator>();
CopyPtls(tmp, time, pc, pc, part_diag);
tmp = pc->make_alike<amrex::PinnedArenaAllocator>();
CopyPtls(tmp, time, pc, pc, part_diag);
}


Expand Down

0 comments on commit 1960528

Please sign in to comment.