diff --git a/examples/cython_polar/src/codec_polar.hpp b/examples/cython_polar/src/codec_polar.hpp index cc7d509..0efe0c1 100644 --- a/examples/cython_polar/src/codec_polar.hpp +++ b/examples/cython_polar/src/codec_polar.hpp @@ -57,7 +57,7 @@ std::vector polar_encode(const int k, const int n, * @param k The number of information bits * @param n The codeword length * @param frozen_bits std::vector, frozen bits (length k) - * @param info_bits std::vector, information bits (length k) + * @param info_bits std::vector>, information bits (length k) * @return auto Encoded codewords, std::vector of length n */ std::vector> @@ -104,7 +104,7 @@ std::vector polar_decode(const int k, const int n, * @param k The number of information bits * @param n The codeword length * @param frozen_bits std::vector, frozen bits (length k) - * @param received std::vector soft symbols, BPSK, n_frame rows, n + * @param received std::vector> soft symbols, BPSK, n_frame rows, n * columns * @return auto Decoded information bits, std::vector> of * n_frame rows, k columns @@ -116,7 +116,7 @@ polar_decode_multiple(const int k, const int n, // populate vectors std::vector> decoded_bits; - // encode + // decode aff3ct::module::Decoder_polar_SC_naive polar_decoder(k, n, frozen_bits); for (auto frame : received) { std::vector decoded(k);