symbol_interleaver: fixed calculation bug
This commit is contained in:
parent
9cd866b2ba
commit
f7575b50fc
|
@ -75,8 +75,10 @@ namespace gr {
|
||||||
size_t nfullcols = nitems % d_width;
|
size_t nfullcols = nitems % d_width;
|
||||||
|
|
||||||
size_t nrows = nitems / d_width;
|
size_t nrows = nitems / d_width;
|
||||||
if(nitems % nrows != 0) {
|
if(nfullcols != 0) {
|
||||||
nrows++;
|
nrows++;
|
||||||
|
} else {
|
||||||
|
nfullcols = ncols;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t row = 0;
|
size_t row = 0;
|
||||||
|
|
Loading…
Reference in a new issue