summaryrefslogtreecommitdiff
path: root/cesar/ce
diff options
context:
space:
mode:
authordufour2009-10-09 09:13:05 +0000
committerdufour2009-10-09 09:13:05 +0000
commit122623c68c1a6bb7d3f068804015f07683ae8cc3 (patch)
treec47e1f3b65e06672926342d1131823649e43ab55 /cesar/ce
parente63999d2162cea6fbb4b5d4ebfb7cf1f6519074e (diff)
cesar/ce/bitloading: realldy do one iteration of the CE, see r5868
The actual code do two iterations of the bit loading initial. This commit fixes it and do only one iteration. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6059 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/ce')
-rw-r--r--cesar/ce/rx/bitloading/src/initial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/ce/rx/bitloading/src/initial.c b/cesar/ce/rx/bitloading/src/initial.c
index 1d6c2b3188..9a7615cd4a 100644
--- a/cesar/ce/rx/bitloading/src/initial.c
+++ b/cesar/ce/rx/bitloading/src/initial.c
@@ -213,7 +213,7 @@ ce_rx_bl_initial_opitmized_iterative (tonemask_info_t *tonemask,
/ tone_en);
}
/* Repeat until no modification of the BER consign (or 6 times). */
- while (it_count++ < 1 && ber_prev != ber_cur);
+ while (++it_count < 1 && ber_prev != ber_cur);
/* Store tone map generated. */
sort[fec_rate] = tm[fec_rate]->bits_per_symbol;
}