Fixed bug casting OpenCG rotations to integers is now double

This commit is contained in:
wbinventor@gmail.com 2015-11-24 21:08:54 -05:00
parent d159b4758c
commit db550a0537

View file

@ -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: