You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when loading a .npy file containing a scalar value #517
Due to an off-by-one error, np.load fails to parse the file's header when shape = () and triggers an ArgumentOutOfRangeException
(Also, the function doesn't consider this possibility when calculating the size of the underlying buffer).
Activity
Nucs commentedon Apr 12, 2026
Related to #597
Nucs commentedon Sep 7, 2026
Fixed by #617 (the byte-identical
np.save/np.loadport), in 0.70.0 (#628). Ashape=()scalar loads correctly now, no off-by-one:Closing.