rogersce / cnpy

library to read/write .npy and .npz files in C/C++
MIT License
1.34k stars 301 forks source link

If function find(keyword) fails to locate specified keyword in the he… #11

Closed chaloz closed 7 years ago

chaloz commented 9 years ago

…ader of the numpy file it returns -1. This indicates problems with header and therefore should be caught properly by raising runtime error.