Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/openmc_mcnp_adapter/openmc_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,7 @@ def get_universe(uid):
lattice.dimension = shape

# Universe IDs array as ([z], y, x)
univ_ids = np.asarray(univ_ids, dtype=int)
univ_ids.shape = shape[::-1]
univ_ids = np.asarray(univ_ids, dtype=int).reshape(shape[::-1])

# Depending on the order of the surfaces listed, it may be
# necessary to flip some axes
Expand Down
Loading