xsuite / xcoll

Xsuite collimation package
Apache License 2.0
3 stars 15 forks source link

Added casting to unsigned int to ensure positive value for malloc #72

Closed simoneotelie closed 6 months ago

simoneotelie commented 6 months ago

Description

Added casting to unsigned int to ensure positive value for malloc. Geometry test passes. The warning from the compiling is gone.

Closes # .

Checklist

Mandatory:

Optional: