diff options
author | Andrej Rode <mail@andrejro.de> | 2018-09-01 03:10:42 +0200 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2018-09-01 03:10:42 +0200 |
commit | a459f4c3cc9238f38153aeca52dfaeab0f527c98 (patch) | |
tree | f42559961c7485d20e28738a9735580b19065805 /gr-blocks/lib/packed_to_unpacked_impl.cc | |
parent | c1f0830231c36f4ac419b25b9fbcab5bae0f2115 (diff) |
blocks: unpacked/packed use member variable for bits_per_type
Diffstat (limited to 'gr-blocks/lib/packed_to_unpacked_impl.cc')
-rw-r--r-- | gr-blocks/lib/packed_to_unpacked_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/packed_to_unpacked_impl.cc b/gr-blocks/lib/packed_to_unpacked_impl.cc index ed84f7ecf0..8b13371e58 100644 --- a/gr-blocks/lib/packed_to_unpacked_impl.cc +++ b/gr-blocks/lib/packed_to_unpacked_impl.cc @@ -52,7 +52,7 @@ namespace gr { assert(bits_per_chunk <= this->d_bits_per_type); assert(bits_per_chunk > 0); - this->set_relative_rate((uint64_t)BITS_PER_TYPE, (uint64_t)bits_per_chunk); + this->set_relative_rate((uint64_t)this->d_bits_per_type, (uint64_t)bits_per_chunk); } template <class T> |