We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2795725 commit 49e3ff0Copy full SHA for 49e3ff0
src/entropy/TPAQPredictor.hpp
@@ -424,7 +424,7 @@ namespace kanzi
424
_binCount += ((_c4 >> 7) & 1);
425
426
// Select Neural Net
427
- _mixer = &_mixers[(_matchLen != 0) ? (_c4 & _mixersMask) + 1 : _c4 & _mixersMask];
+ _mixer = &_mixers[(_c4 & _mixersMask) + (_matchLen != 0 ? 1 : 0)];
428
429
// Add contexts to NN
430
_ctx0 = (_c4 & 0xFF) << 8;
0 commit comments