summaryrefslogtreecommitdiff
path: root/gr-fec/lib/polar_decoder_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec/lib/polar_decoder_common.cc')
-rw-r--r--gr-fec/lib/polar_decoder_common.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/gr-fec/lib/polar_decoder_common.cc b/gr-fec/lib/polar_decoder_common.cc
index e9138aad59..cb5a6dbf51 100644
--- a/gr-fec/lib/polar_decoder_common.cc
+++ b/gr-fec/lib/polar_decoder_common.cc
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
-/*
+/*
* Copyright 2015 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -32,12 +32,13 @@
namespace gr {
namespace fec {
+ namespace code {
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) :
- polar_common(block_size, num_info_bits, frozen_bit_positions, frozen_bit_values),
- d_frozen_bit_counter(0)
+ polar_common(block_size, num_info_bits, frozen_bit_positions, frozen_bit_values),
+ d_frozen_bit_counter(0)
{
}
@@ -187,5 +188,6 @@ namespace gr {
}
}
+ } /* namespace code */
} /* namespace fec */
} /* namespace gr */