med1844 / 2022-MUSI6106

Template project for assignments and exercises for the class MUSI6106
GNU General Public License v3.0
0 stars 0 forks source link

inheritance and reset #20

Open alexanderlerch opened 2 years ago

alexanderlerch commented 2 years ago

https://github.com/medioqrity/2022-MUSI6106/blob/8e64c4aa89c7dfa6cfaf4047fbe654ba7f616ca3/src/FastConv/Convolver.cpp#L5

is it intentional that you call reset here but you also override reset in the inherited class? Seems kinda messy

med1844 commented 2 years ago

yes it's intentional. Reset and init are both virtual methods that takes care of the class's own variables.