Skip to content

Commit

Permalink
Conserve factory, too.
Browse files Browse the repository at this point in the history
Co-authored-by: Weiqun Zhang <[email protected]>
  • Loading branch information
ax3l and WeiqunZhang authored Mar 26, 2024
1 parent 3789855 commit b7fdbf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/Base/AMReX_MultiFab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ MultiFab::copy ()
this->DistributionMap(),
this->nComp(),
this->nGrowVect(),
MFInfo().SetArena(this->arena())
MFInfo().SetArena(this->arena()),
this->Factory()
);
MultiFab::Copy(
mf,
Expand Down

0 comments on commit b7fdbf3

Please sign in to comment.