Open alexanderlerch opened 2 years ago
https://github.com/medioqrity/2022-MUSI6106/blob/04995c5937e11713dd3747ea65f37650d2eec19f/src/FastConv/Convolver.cpp#L182
otherwise you run into problems, e.g., when reset is called twice
I'm also considering changing them to std::unique_ptr<std::vector> to handle pointers more elegantly and delete all allocated memories & objects even if exceptions occur.
std::unique_ptr<std::vector>
Absolutely.
https://github.com/medioqrity/2022-MUSI6106/blob/04995c5937e11713dd3747ea65f37650d2eec19f/src/FastConv/Convolver.cpp#L182
otherwise you run into problems, e.g., when reset is called twice