mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fix unit test using Geometry.from_xml on a hex lattice
This commit is contained in:
parent
853438083a
commit
d36adef280
1 changed files with 1 additions and 1 deletions
|
|
@ -1376,7 +1376,7 @@ class HexLattice(Lattice):
|
|||
lat = cls(lat_id, name)
|
||||
lat.center = [float(i) for i in get_text(elem, 'center').split()]
|
||||
lat.pitch = [float(i) for i in get_text(elem, 'pitch').split()]
|
||||
lat.orientation = get_text(elem, 'orientation')
|
||||
lat.orientation = get_text(elem, 'orientation', 'y')
|
||||
outer = get_text(elem, 'outer')
|
||||
if outer is not None:
|
||||
lat.outer = get_universe(int(outer))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue