carl 4e8810b1a86 M Merge branch 'lematt1991-read-scalar' 01 Jun 2018 Matthew Le b4090bdcbf4 Use regex to parse shape information 01 Jun 2018 carl e6536edb128 fix some type mismatch issues 30 May 2018 carl 5cc18b0d554 replace abort with runtime_error 30 May 2018 Christian Rauch be30d504dd8 throw exception instead of assertion in case file does not exist 06 Feb 2018 Christian Rauch 71aa46a382b constant accessors 06 Feb 2018 Carl Rogers bb2cdc724a0 M Merge pull request #25 from chraibi/master Markdown editing of README.md 11 Feb 2018 Mohcine Chraibi b30299ee733 Update README.md 03 Jan 2018 Mohcine Chraibi f3a199b461d Rename README to README.md 03 Jan 2018 Mohcine Chraibi 05b4d9e9ff9 M Merge pull request #1 from chraibi/chraibi-patch-1 Markdown editing of README 03 Jan 2018 Mohcine Chraibi 4ecb0a544ec Markdown editing of README 03 Jan 2018 Carl Rogers f19917f6c44 M Merge pull request #22 from benjaminjeliot/find_package_zlib adding zlib package finding 03 Jan 2018 Jim Eliot 112af6f7e93 adding zlib package finding 01 Dec 2017 Carl Rogers d598a21c380 M Merge branch 'chaloz-master' 22 Oct 2017 Carl Rogers 94b9124cd19 M Merge branch 'master' of https://github.com/chaloz/cnpy into chaloz-master 22 Oct 2017 Carl Rogers a6ad5f4e836 removing libzip dependency for reading compressed npz files 18 Oct 2017 Carl Rogers 91887b59872 M Merge branch 'rtotheb2000-master' use proper unsigned types for array sizes 16 Oct 2017 Carl Rogers 9dd4005fc52 M Merge branch 'master' of https://github.com/rtotheb2000/cnpy into rtotheb2000-master 16 Oct 2017 Carl Rogers 6fafb0aa71c adding support for reading compressed npz files 16 Oct 2017 Carl Rogers b39d58d3640 fix README to include zlib when compiling test code 14 Sep 2017 Carl Rogers 7e7ea2d3458 fix fortran order parsing 14 Sep 2017 Carl Rogers 38d51156759 simplify npy save logic 14 Sep 2017 Carl Rogers 553d51d1010 a few quick fixes 14 Sep 2017 Carl Rogers f805f1b53b4 M Merge branch 'dstahlke-master' 14 Sep 2017 Carl Rogers c5593f695ab M Merge branch 'master' of https://github.com/dstahlke/cnpy into dstahlke-master 14 Sep 2017 Zdenek cf4aab6de43 Revert "Adding a bit more proper header parser that throws error in case the checks won't match." This reverts commit c3bc6204cdcb47c78db720617ef114fe9167a74e as the code committed there
has not been checked properly. 27 Mar 2016 Zdenek c3bc6204cdc Adding a bit more proper header parser that throws error in case the checks won't match. 27 Mar 2016 rschwarz 0fcddfe3988 fixed unsigned and signed comparisons 03 Dec 2015 Zdenek 64f66702b62 If function find(keyword) fails to locate specified keyword in the header of the numpy file it returns -1. This indicates problems with header and therefore should be caught properly by raising runtime error. 08 Nov 2015 Carl Rogers 814b38e3b44 M Merge pull request #10 from rjw57/fix-memory-leak cnpy.cpp: fix memory leak in parsing shape field 17 Feb 2015 Rich Wareham e210e16c49d cnpy.cpp: fix memory leak in parsing shape field The shape array created at cnpy.cpp:80 was never delete-ed. Add a
delete[] call at cnpy.cpp:136 to address this. A better solution may be
to pass a std::vector<> reference to parse_npy_header(). 16 Feb 2015 Dan Stahlke e4faae86e72 NpyArray.as_vec method 10 Aug 2014 Dan Stahlke 5038afe8430 for 1-d data, can just pass vector; some c++11 stuff 10 Aug 2014 Dan Stahlke 8b82250e9ee proper memory management; use std::vector rather than arrays Now it is no longer necessary to manually delete data. 10 Aug 2014 Dan Stahlke 2696719686d use portable data types from stdint.h 10 Aug 2014 Dan Stahlke 1aebad5cabf use size_t for sizes 10 Aug 2014 Dan Stahlke f3b00b32fe5 remove unused parameters to avoid compiler warnings with -Wextra 09 Aug 2014 Dan Stahlke ede2462281b fix endian test To be honest, I don't remember exactly the use case that broke the previous version.
Perhaps it was on the Raspberry Pi (can't test right now). In any case, after much
research I found that there was a subtle problem with the old endian test, and that
everyone on the net recommends this new idiom. Sorry that I don't remember the details. 09 Aug 2014 Carl Rogers 013d31d2e26 M Merge branch 'master' of https://github.com/temporaer/cnpy into temporaer-master Conflicts:
cnpy.cpp 17 May 2013 Carl Rogers b2305866a52 M Merge pull request #5 from julienr/fortran_order Add fortran_order field to NpyArray to allow loading of Fortran-ordered ... 17 May 2013 Julien Rebetez 474a2293cf4 Add fortran_order field to NpyArray to allow loading of Fortran-ordered arrays 17 May 2013 Hannes Schulz add0e5b653b add error handling (removes compile warnings) 17 Apr 2013 Carl Rogers 58b7ca8ea23 updating little endian assertion on data load as per damiendrix's issue 08 Aug 2012 Carl Rogers 4e505adc567 npz2mat installed via CMakeLists.txt 18 May 2012 Carl Rogers 2442faf4b9f adding npz2mat 03 May 2012 Carl Rogers e3ca1e66964 adding missing declaration of create_npy_header 03 May 2012 Carl Rogers 14c6dab7bf4 npz_t now a class dervied from std::map 25 Mar 2012 Carl Rogers 76f956c7072 adding typedef in cnpy.h for npz map<string,npyarray> type 24 Mar 2012 Carl Rogers 805110c10a2 fixing load_the_npy_file to not overflow for files with nbytes greater than unsigned int range 17 Dec 2011 Carl Rogers 106bfe4aa8f adding example1.cpp, updating readme to reflect this 17 Jun 2011