mantaflow
mantaflow copied to clipboard
Dimension casting causing wrong numpy array conversions on windows
On windows, the cast to long
from the type npy_intp
returned by PyArray_NDIMS
results in incorrect parsing of numpy array dimensions. I propose the use of intptr_t
as a solution with the consequent change of type of the vector Dims
to int
.