fix(Metadata): byteSize_ changed from std::size_t to int to avoid implicit type conversion

This commit is contained in:
2025-01-22 06:50:02 -05:00
parent d331645c88
commit 3b9cd3726d
2 changed files with 6 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ public:
friend std::ostream& operator<<(std::ostream& os, const Metadata& metadata);
private:
std::size_t byteSize_ = 0; ///< Total size of the data in bytes.
int byteSize_ = 0; ///< Total size of the data in bytes.
std::string dataType_; ///< Type of the data (e.g., "float", "double").
std::vector<std::size_t> dimensions_; ///< Dimensions of the data (e.g., {3, 4} for a 3x4 matrix).
bool debugFlag_ = false; ///< Indicates whether debugging is enabled.