PySDM
PySDM copied to clipboard
possible unexpected behaviour for `impl_thrust_rtc/storage.py`
https://github.com/open-atmos/PySDM/blob/64a54694dad9ee4d817498ec1fc845716ea184cc/PySDM/backends/impl_thrust_rtc/storage.py#L139-L162
I think impl_thrust_rtc/storage.py is possibly not behaving as expected.
For example:
truedivision in python will give int(3)/int(2) == int(1.5)
But I think cuda code uses c/c++ which gives int(3)/int(2) == int(1)
I am in the process of writing tests on a separate fork which I will submit a PR for later today.
Stale issue message
Stale issue message