Skip to content

Commit 7b416af

Browse files
corrected ProjDataInMemory::create_buffer (size->max_index)
1 parent 377020b commit 7b416af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buildblock/ProjDataInMemory.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ ProjDataInMemory::create_buffer(const bool initialise_with_0)
7575
{
7676
if (!initialise_with_0) {
7777
this->buffer.set_initialise_with_zeros(false);
78-
this->buffer.grow(0, this->size_all());
78+
this->buffer.grow(0, this->size_all() - 1);
7979
return;
8080
}
8181
#if 0

0 commit comments

Comments
 (0)