gr-gsm/lib/decoding/openbts
Vasil Velichkov 924d1873da Fix an assert in ViterbiR2O4::decode
The table length was wrong becuase matchCostTable is a float pointer and
not an array since 792330777d

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-04-06 15:18:26 +02:00
..
AmrCoder.cpp Portability fix: replacing tables of variable size with memory allocations 2018-02-27 14:45:14 +01:00
AmrCoder.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
BitVector.cpp Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
BitVector.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
CMakeLists.txt Corrections in the buildsystem 2017-09-18 21:36:06 +02:00
GSM503Tables.cpp Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
GSM503Tables.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
GSM610Tables.cpp Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
GSM610Tables.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
GSM660Tables.cpp Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
GSM660Tables.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
Vector.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
Viterbi.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00
ViterbiR204.cpp Fix an assert in ViterbiR2O4::decode 2018-04-06 15:18:26 +02:00
ViterbiR204.h Moved openbts codes into a separate directory and updated their license statements so they can be automatically processed 2017-08-23 15:59:28 +02:00