Hi-PACE / hipace

Highly efficient Plasma Accelerator Emulation, quasistatic particle-in-cell code
https://hipace.readthedocs.io
Other
54 stars 15 forks source link

Fix float assert in Parser #1163

Closed AlexanderSinn closed 1 month ago

AlexanderSinn commented 2 months ago

std::numeric_limits<float>::min() is positive which would cause the assert to prevent negative values from being used in the input script.