Closed damiendr closed 11 years ago
Single-byte datatypes such as np.byte have '|' as their byte order character. This wrongly triggers an assertion failure in cnpy.cpp, line 88
Suggested fix:
bool littleEndian = ((header[loc1] == '<' || header[loc1] == '|') ? true : false); assert(littleEndian);
Single-byte datatypes such as np.byte have '|' as their byte order character. This wrongly triggers an assertion failure in cnpy.cpp, line 88
Suggested fix:
bool littleEndian = ((header[loc1] == '<' || header[loc1] == '|') ? true : false); assert(littleEndian);