Adam Piątyszek - 2006-10-08

Logged In: YES
user_id=1004597

Hi George,

Thanks for your bug report. The problem you discovered was
not caused by a wrong calculation of k. In fact, for one
symbol (M=1) you need at least one bit to map bits to
symbols. So k was correctly calculated as 1.

Ths error was caused by improper default initialisation of
symbols and bitmap. Modulator_2d can not be used for
non-even constellation sizes, because the calc_soft_metrics
method assumes that M is even.

To fix this problem, I changed the default initialisation to
a BPSK constellation and added additional checks for
improper symbols and bitmap settings.

The changes are now in the repository (rev. 669) and will
appear in the next stable release (3.10.6). Therefore, I am
closing this report.

BR,
/Adam