Skip to content

Commit

Permalink
Tried to make CellModifiers see problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Sep 10, 2024
1 parent e108ac3 commit 2faeebf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion montepy/mcnp_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ def original_inputs(self):

def __relink_objs(self):
if self.__unpickled:
for collection in {"_cells", "_surfaces", "_data_inputs"}:
self._cells.update_pointers(
self._cells, self._materials, self._surfaces, self._data_inputs, self
)
for collection in {"_surfaces", "_data_inputs"}:
for obj in getattr(self, collection):
obj.link_to_problem(self)
self.__unpickled = False
Expand Down

0 comments on commit 2faeebf

Please sign in to comment.