Commit 33b81069 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Use float for state table: improved performance.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent b88e6950
......@@ -93,7 +93,7 @@ conv_decode_soft (const vector<float>& coded_bits)
error_count[0][0].delta = 0; /* start state */
/* precompute state -> output bits table */
vector<uint8_t> state2bits;
vector<float> state2bits;
for (unsigned int state = 0; state < state_count; state++)
{
for (size_t p = 0; p < generators.size(); p++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment