Radiation-Transport / iWW-GVR

A tool to manipulate MCNP weight window (WW) and to generate Global Variance Reduction (GVR) parameters
Other
7 stars 7 forks source link

Numpy 1.18 compatibility #4

Closed giovanni-mariano closed 3 years ago

giovanni-mariano commented 4 years ago

I would like to report that the tool is not compatible with the current version of numpy. Starting from numpy 1.18.0 the "num" parameter of linspace must be an integer: https://numpy.org/devdocs/release/1.18.0-notes.html

It should be enough to replace num with int(num).

Best regards, Giovanni Mariano

Radiation-Transport commented 4 years ago

Thanks Mariano for your feedback. We are going to have a look at it and come back shortly with a new version.

Radiation-Transport commented 3 years ago

Bug solved in version 1.1.8. Thanks @giovanni-mariano