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
Could you please add an optional #ifdef to avoid zlib dependency for those looking to use only uncompressed npy save/load? There is no need for zlib.h for just *.npy files.
Also for MSVC users, the use of fopen, scanf/sprintf causes compiler issues. Adding the #pragma warning(disable:4996) fixes the problem, but it is recommended to replace these unsafe functions with the safer versions.
The text was updated successfully, but these errors were encountered:
Could you please add an optional #ifdef to avoid zlib dependency for those looking to use only uncompressed npy save/load? There is no need for zlib.h for just *.npy files.
Something like:
Also for MSVC users, the use of fopen, scanf/sprintf causes compiler issues. Adding the
#pragma warning(disable:4996)
fixes the problem, but it is recommended to replace these unsafe functions with the safer versions.The text was updated successfully, but these errors were encountered: