From 5bdedeecea69a5892e3ce8854e85f78537cf7ca4 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 15 Jun 2025 22:25:12 -0300 Subject: channel functions --- src/containers.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/containers.hh') diff --git a/src/containers.hh b/src/containers.hh index f82159b..ecbe6be 100644 --- a/src/containers.hh +++ b/src/containers.hh @@ -122,6 +122,8 @@ struct vector{ T Result = {}; if(index >= this->start && index < (this->start + this->space)){ Result = this->entry[index - this->start]; + }else if(this->initialized){ + Result = this->init; } return Result; } -- cgit v1.2.3