diff options
Diffstat (limited to 'src/numpy_utils.cpp')
-rw-r--r-- | src/numpy_utils.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/numpy_utils.cpp b/src/numpy_utils.cpp index 3c85ae1..80c680f 100644 --- a/src/numpy_utils.cpp +++ b/src/numpy_utils.cpp @@ -319,7 +319,6 @@ NumpyUtilities::NPError NumpyUtilities::writeToNpyFileCommon(const char* filenam uint32_t totalElems = 1; assert(filename); - assert(shape.size() >= 0); assert(databuf); outfile = fopen(filename, "wb"); @@ -377,7 +376,6 @@ NumpyUtilities::NPError int headerPos = 0; assert(outfile); - assert(shape.size() >= 0); // Space-fill the header and end with a newline to start per numpy spec memset(header, 0x20, NUMPY_HEADER_SZ); |