summaryrefslogtreecommitdiff
path: root/modules/codec/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++')
-rw-r--r--modules/codec/c++/data.hpp1
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;