Add default value to shape

This commit is contained in:
2018-07-06 14:59:46 +02:00
parent bc43d18276
commit 33ac487fda
+1 -1
View File
@@ -19,7 +19,7 @@ struct HeaderDataType
std::string endianness;
size_t value_bytes_size;
HeaderDataType(const std::string& type, size_t shape);
HeaderDataType(const std::string& type, size_t shape=1);
};
size_t get_type_byte_size(const std::string& type);