summaryrefslogtreecommitdiff
path: root/gr-fec/lib/polar_decoder_sc.cc
diff options
context:
space:
mode:
authorJohannes Demel <ufcsy@student.kit.edu>2015-07-21 15:47:04 +0200
committerJohannes Demel <ufcsy@student.kit.edu>2015-09-21 10:46:54 +0200
commit73d84a231c31bf8312214b5e3a0a97e15c8db98f (patch)
tree3b531fbb2bd00184b29113a3e564fed379bffe62 /gr-fec/lib/polar_decoder_sc.cc
parent8b486050a7e425e21f069ad6742385d6496c63eb (diff)
polar: VOLK kernel integration
Conflicts: volk
Diffstat (limited to 'gr-fec/lib/polar_decoder_sc.cc')
-rw-r--r--gr-fec/lib/polar_decoder_sc.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-fec/lib/polar_decoder_sc.cc b/gr-fec/lib/polar_decoder_sc.cc
index e4f64b5e99..7a290a8563 100644
--- a/gr-fec/lib/polar_decoder_sc.cc
+++ b/gr-fec/lib/polar_decoder_sc.cc
@@ -80,10 +80,8 @@ namespace gr
d_frozen_bit_counter = 0;
memset(u, 0, sizeof(unsigned char) * block_size() * block_power());
for(int i = 0; i < block_size(); i++){
- butterfly(llrs, 0, u, i);
+ butterfly(llrs, u, 0, i, i);
u[i] = retrieve_bit_from_llr(llrs[i], i);
-// const unsigned char bit = retrieve_bit_from_llr(llrs[i], i);
-// insert_bit_at_pos(u, bit, i);
}
}