Re: [Discuss-gnuradio] Keep M in N

2016-10-06 Thread Marcus Müller
Highway to the _DANGER ZONE_ :D No, really, we do check for N>=M: https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/keep_m_in_n_impl.cc#L58 if(d_m > d_n) { std::string s = boost::str(boost::format("keep_m_in_n: m (%1%) <= n %2%") % d_m % d_n); throw std::runtime

Re: [Discuss-gnuradio] Keep M in N

2016-10-06 Thread Tim
I'd venture to say M>N is living in dangerous territory On 10/06/2016 10:56 AM, Marcus Müller wrote: > > Hi Steve, > > The first M of each N. :) (I don't really understand 100% what "every > N/M" would be in general for arbitrary N>=M, integers). > > If you dare to venture into the GNU Radio sourc

Re: [Discuss-gnuradio] Keep M in N

2016-10-06 Thread Marcus Müller
Hi Steve, The first M of each N. :) (I don't really understand 100% what "every N/M" would be in general for arbitrary N>=M, integers). If you dare to venture into the GNU Radio source code (which I'd encourage you to do, it's just that this isn't the most beautiful/interesting block), you'll fin