am 6d1a29ea: Fix build.
* commit '6d1a29eaab3667c381340117a2012427d3a3e861': Fix build.main
commit
ec6d7acc0c
|
@ -115,7 +115,7 @@ bool DynamicBigramListPolicy::addNewBigramEntryToBigramList(const int bigramPos,
|
||||||
flags = BigramListReadWriteUtils::getFlagsAndForwardPointer(buffer, pos);
|
flags = BigramListReadWriteUtils::getFlagsAndForwardPointer(buffer, pos);
|
||||||
int originalBigramPos = BigramListReadWriteUtils::getBigramAddressAndForwardPointer(
|
int originalBigramPos = BigramListReadWriteUtils::getBigramAddressAndForwardPointer(
|
||||||
buffer, flags, pos);
|
buffer, flags, pos);
|
||||||
if (usesAdditionalBuffer && originalBigramPos != NOT_A_VALID_WORD_POS) {
|
if (usesAdditionalBuffer && originalBigramPos != NOT_A_DICT_POS) {
|
||||||
originalBigramPos += mBuffer->getOriginalBufferSize();
|
originalBigramPos += mBuffer->getOriginalBufferSize();
|
||||||
}
|
}
|
||||||
if (followBigramLinkAndGetCurrentBigramPtNodePos(originalBigramPos) == bigramPos) {
|
if (followBigramLinkAndGetCurrentBigramPtNodePos(originalBigramPos) == bigramPos) {
|
||||||
|
|
Loading…
Reference in New Issue