Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix unpickling an empty ndarray with a non-zero dimension (#21067) #21140

Merged
merged 1 commit into from Mar 3, 2022

Commits on Mar 2, 2022

  1. BUG: Fix unpickling an empty ndarray with a none-zero dimension (nump…

    …y#21067)
    
    Changing num to the number of bytes in the input array, PyArray_NBYTES(self). Solves numpy#21009.
    
    * Fixing nbyte size in methods.c:memcpy
    
    * Adding a test
    
    * Re-adding removed newline
    
    * Shrinking the test array to save memory
    Alexandre de Siqueira authored and charris committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    03d842e View commit details
    Browse the repository at this point in the history