Skip to content

fix for class fpnum

Small fix (just adding two lines) for class FPNum. - The issue was that in this part of the code the bit shift can be larger than the bit width of the integer (which is undefined in c++ and typically implemented as a modulo shift). The proposed changes fixes the potential issue.

It doesn't have any measurable coding efficiency impact for our CTC, but it should be fixed anyway.

Merge request reports

Loading