discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Multiplicative constant vector for multiply_const_vcc


From: khalid.el-darymli
Subject: [Discuss-gnuradio] Multiplicative constant vector for multiply_const_vcc
Date: Thu, 21 May 2015 09:43:16 -0230


Hi,

What is the proper way to set-up the multiplicative constant vector for multiply_const_vcc?


I tried the code below and although it compiles, upon running the program I get the following error:

Segmentation fault (core dumped).


The code:

std::vector<gr_complex> k;
k[0]=0.1;

blocks::multiply_const_vcc::sptr multiply_const_0 = blocks::multiply_const_vcc::make(k);


I'll appreciate your help.

Thank you.

Best regards,
Khalid


reply via email to

[Prev in Thread] Current Thread [Next in Thread]