From 7b416afdb53cf54c28c078686a328e00596c02eb Mon Sep 17 00:00:00 2001 From: Evgueni Ovtchinnikov Date: Wed, 11 Dec 2024 12:07:50 +0000 Subject: [PATCH] corrected ProjDataInMemory::create_buffer (size->max_index) --- src/buildblock/ProjDataInMemory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildblock/ProjDataInMemory.cxx b/src/buildblock/ProjDataInMemory.cxx index cd031159f..7f51eb997 100644 --- a/src/buildblock/ProjDataInMemory.cxx +++ b/src/buildblock/ProjDataInMemory.cxx @@ -75,7 +75,7 @@ ProjDataInMemory::create_buffer(const bool initialise_with_0) { if (!initialise_with_0) { this->buffer.set_initialise_with_zeros(false); - this->buffer.grow(0, this->size_all()); + this->buffer.grow(0, this->size_all() - 1); return; } #if 0