diff --git a/openmc/mgxs/library.py b/openmc/mgxs/library.py index 87c6665b2d..fa49d24e64 100644 --- a/openmc/mgxs/library.py +++ b/openmc/mgxs/library.py @@ -361,6 +361,8 @@ class Library(object): raise ValueError(msg) self._sp_filename = statepoint._f.filename + self._openmc_geometry = statepoint.summary.openmc_geometry + self._opencg_geometry = None # Load tallies for each MGXS for each domain and mgxs type for domain in self.domains: diff --git a/openmc/opencg_compatible.py b/openmc/opencg_compatible.py index 93c0e5fae7..6430b24240 100644 --- a/openmc/opencg_compatible.py +++ b/openmc/opencg_compatible.py @@ -726,7 +726,7 @@ def get_openmc_cell(opencg_cell): openmc_cell.fill = get_openmc_material(fill) if opencg_cell.rotation: - rotation = np.asarray(opencg_cell.rotation, dtype=np.int) + rotation = np.asarray(opencg_cell.rotation, dtype=np.float64) openmc_cell.rotation = rotation if opencg_cell.translation: