diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-08-16 08:13:41 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-08-16 08:13:41 -0700 |
commit | cd40a9b64622141f64d5cc31334419371ddf5613 (patch) | |
tree | e22760a6d1346bcc43156435901171399ba61e23 /gr-fec | |
parent | 59daaff0d9d04373d3a6b14ea7b46e080bad7a1e (diff) | |
parent | a981e6a18c4f28cc6058fef4167c01ad3dc7d58a (diff) |
Merge remote-tracking branch 'josh/3710_win_fixes' into maint
Diffstat (limited to 'gr-fec')
-rw-r--r-- | gr-fec/include/gnuradio/fec/polar_decoder_common.h | 2 | ||||
-rw-r--r-- | gr-fec/lib/polar_decoder_common.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gr-fec/include/gnuradio/fec/polar_decoder_common.h b/gr-fec/include/gnuradio/fec/polar_decoder_common.h index a39ee4f232..13b25ea19b 100644 --- a/gr-fec/include/gnuradio/fec/polar_decoder_common.h +++ b/gr-fec/include/gnuradio/fec/polar_decoder_common.h @@ -68,7 +68,7 @@ namespace gr { bool set_frame_size(unsigned int frame_size){return false;}; private: - static BOOST_CONSTEXPR_OR_CONST float D_LLR_FACTOR = -2.19722458f; + static BOOST_CONSTEXPR_OR_CONST float D_LLR_FACTOR; unsigned int d_frozen_bit_counter; protected: diff --git a/gr-fec/lib/polar_decoder_common.cc b/gr-fec/lib/polar_decoder_common.cc index 8fc2e37fb7..1d4a21a191 100644 --- a/gr-fec/lib/polar_decoder_common.cc +++ b/gr-fec/lib/polar_decoder_common.cc @@ -34,6 +34,8 @@ namespace gr { namespace fec { namespace code { + const float polar_decoder_common::D_LLR_FACTOR = -2.19722458f; + polar_decoder_common::polar_decoder_common(int block_size, int num_info_bits, std::vector<int> frozen_bit_positions, std::vector<char> frozen_bit_values) : |