Skip to content

Commit b789fde

Browse files
committed
MultiFab: Allow Dynamic Attributes
Allow to add attributes dynamically to the `MultiFab` type.
1 parent b453c62 commit b789fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base/MultiFab.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void init_MultiFab(py::module &m, py::class_< amrex::MFIter > & py_MFIter)
2020
{
2121
using namespace amrex;
2222

23-
py::class_< MultiFab, FabArray<FArrayBox> > py_MultiFab(m, "MultiFab");
23+
py::class_< MultiFab, FabArray<FArrayBox> > py_MultiFab(m, "MultiFab", py::dynamic_attr());
2424

2525
py_MFIter
2626
.def("__repr__",

0 commit comments

Comments
 (0)