From 6d498fe17dab48cfd8fc8a4da62a573b799e10ba Mon Sep 17 00:00:00 2001 From: fusion32 Date: Wed, 16 Jul 2025 17:22:39 -0300 Subject: fix most init and parsing bugs + critical bug with dynamic strings With an appropriate query manager, the server now starts up and seems to work but won't properly handle connections until we fix the problem with threads and signals described in `TODO.md`. --- src/containers.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/containers.hh') diff --git a/src/containers.hh b/src/containers.hh index 1ff9896..25a368f 100644 --- a/src/containers.hh +++ b/src/containers.hh @@ -323,9 +323,11 @@ struct matrix3d{ this->xmin = xmin; this->ymin = ymin; + this->zmin = zmin; this->dx = dx; this->dy = dy; - this->entry = new T[dx * dy]; + this->dz = dz; + this->entry = new T[dx * dy * dz]; } matrix3d(int xmin, int xmax, int ymin, int ymax, int zmin, int zmax, T init) -- cgit v1.2.3