Skip to content

Dimension casting causing wrong numpy array conversions on windows#11

Open
riccardofelluga wants to merge 1 commit intothunil:masterfrom
riccardofelluga:master
Open

Dimension casting causing wrong numpy array conversions on windows#11
riccardofelluga wants to merge 1 commit intothunil:masterfrom
riccardofelluga:master

Conversation

@riccardofelluga
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant