mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Use property decorators for Lattice.outer
This commit is contained in:
parent
20d915809a
commit
8fd058a11e
1 changed files with 2 additions and 2 deletions
|
|
@ -714,8 +714,8 @@ class Lattice(object):
|
|||
assert isinstance(u, Universe)
|
||||
univs[u._id] = u
|
||||
|
||||
if self._outer is not None:
|
||||
univs[self._outer._id] = self._outer
|
||||
if self.outer is not None:
|
||||
univs[self.outer._id] = self.outer
|
||||
|
||||
return univs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue