summaryrefslogtreecommitdiff
path: root/klm/lm/trie.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-10-19 20:56:22 +0200
committerPatrick Simianer <p@simianer.de>2011-10-19 20:56:22 +0200
commitef2df950520a47ca7011736648334eedeae5297a (patch)
treefeb7893845075429573ca935e7f6b130132f2381 /klm/lm/trie.cc
parenteb14e36d0b29f19321d44dd7dfa73cc703838d86 (diff)
merged, compiles but not working
Diffstat (limited to 'klm/lm/trie.cc')
-rw-r--r--klm/lm/trie.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/klm/lm/trie.cc b/klm/lm/trie.cc
index a1136b6f..20075bb8 100644
--- a/klm/lm/trie.cc
+++ b/klm/lm/trie.cc
@@ -91,15 +91,6 @@ template <class Quant, class Bhiksha> bool BitPackedMiddle<Quant, Bhiksha>::Find
if (!FindBitPacked(base_, word_mask_, word_bits_, total_bits_, range.begin, range.end, max_vocab_, word, at_pointer)) {
return false;
}
-<<<<<<< HEAD
- uint64_t index = at_pointer;
- at_pointer *= total_bits_;
- at_pointer += word_bits_;
- quant_.Read(base_, at_pointer, prob, backoff);
- at_pointer += quant_.TotalBits();
-
- bhiksha_.ReadNext(base_, at_pointer, index, total_bits_, range);
-=======
pointer = at_pointer;
at_pointer *= total_bits_;
at_pointer += word_bits_;
@@ -108,7 +99,6 @@ template <class Quant, class Bhiksha> bool BitPackedMiddle<Quant, Bhiksha>::Find
at_pointer += quant_.TotalBits();
bhiksha_.ReadNext(base_, at_pointer, pointer, total_bits_, range);
->>>>>>> upstream/master
return true;
}