I’m fighting a bit with a smart pointer. I want to apply a filter in my
block. Hence I construct a filter as shown below:
gr_fir_filter_fff_sptr hi_pass = gr_make_fir_filter_fff(1,
as soon as I dereference the smart pointer in order to use the filter I
get an assertion error: const [with T = gr_block_detail]: Assertion `px
!= 0’ failed.
hi_pass->general_work(noutput_items, ninput_items, input_items,
this means the smart pointer doesn’t have a pointer (any longer?) to the
filter. Does anyone see what I’m doing wrong. I’ve been trying quite
hard to find the mistake but I simply don’t get it.