Skip to content

Commit

Permalink
corrected ProjDataInMemory::create_buffer (size->max_index)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Dec 11, 2024
1 parent 377020b commit 7b416af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buildblock/ProjDataInMemory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b416af

Please sign in to comment.