Skip to content

Commit

Permalink
allocates the maximum ARMmodel size so it fulfills the conditions of …
Browse files Browse the repository at this point in the history
…resizing (line 446)
  • Loading branch information
tremblap committed Dec 17, 2024
1 parent bc9bcd6 commit 8539bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/algorithms/public/TransientExtraction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TransientExtraction

TransientExtraction(index maxOrder, index maxBlockSize, index maxPadSize,
Allocator& alloc = FluidDefaultAllocator())
: mModel(maxOrder, maxBlockSize + (2 * maxPadSize), alloc),
: mModel(maxOrder, asUnsigned(maxBlockSize + (2 * maxPadSize) + maxOrder), alloc),
mInput(asUnsigned(maxBlockSize + (2 * maxPadSize) + maxOrder), alloc),
mDetect(asUnsigned(maxBlockSize), alloc),
mForwardError(asUnsigned(maxBlockSize + maxOrder), alloc),
Expand Down

0 comments on commit 8539bcd

Please sign in to comment.