symbol_interleaver: fixed calculation bug

This commit is contained in:
Thomas Kolb 2019-09-19 00:19:04 +02:00
parent 9cd866b2ba
commit f7575b50fc

View file

@ -75,8 +75,10 @@ namespace gr {
size_t nfullcols = nitems % d_width;
size_t nrows = nitems / d_width;
if(nitems % nrows != 0) {
if(nfullcols != 0) {
nrows++;
} else {
nfullcols = ncols;
}
size_t row = 0;