diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-02-28 18:48:35 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-02-28 18:48:35 +0100 |
commit | 07c62c2dbbfa860ab72436ddd21c4ac8e220f9df (patch) | |
tree | 7c128884c15652f1918cbec89a67033bd701aca7 /modules/codec/c++/data.hpp | |
parent | a17e1bf66967369c29af4b629241f6a17a624626 (diff) |
codec: Add check for default Array uninitialized edges case
Diffstat (limited to 'modules/codec/c++/data.hpp')
-rw-r--r-- | modules/codec/c++/data.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 2196408..f7c9239 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -284,6 +284,7 @@ private: } uint64_t get_flat_index(const data<schema::FixedArray<schema::UInt64,Dim>>& i) const { + assert(value_.size() == get_full_size()); uint64_t s = 0; uint64_t stride = 1; |