mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixed bug casting OpenCG rotations to integers is now double
This commit is contained in:
parent
d159b4758c
commit
db550a0537
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue