aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding/openbts
AgeCommit message (Collapse)AuthorFilesLines
2018-04-06Fix an assert in ViterbiR2O4::decodeVasil Velichkov1-2/+2
The table length was wrong becuase matchCostTable is a float pointer and not an array since 792330777d7c21df02ce1ecb6f876b076a14b519 python2.7: /home/user/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288: virtual void ViterbiR2O4::decode(const SoftVector&, BitVector&): Assertion `match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1' failed. (gdb) f 4 #4 0x00007fffdff820c3 in ViterbiR2O4::decode (this=0x5555563bbdf0, in=..., target=...) at /home/vasko/sources/gr-gsm/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288 288 assert(match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1); (gdb) p match-matchCostTable $1 = 2 (gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1 $2 = 1 (gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0]) $3 = 2 (gdb) p sizeof(matchCostTable) $4 = 8
2018-02-27Portability fix: replacing tables of variable size with memory allocationsPiotr Krysik2-30/+58
2017-09-18Corrections in the buildsystemPiotr Krysik1-1/+0
2017-09-13Changed organization of cmake filesPiotr Krysik1-0/+28
Cmake files were added into subdirectories.
2017-08-23Moved openbts codes into a separate directory and updated their license ↵Piotr Krysik14-0/+5876
statements so they can be automatically processed