summaryrefslogtreecommitdiff
path: root/klm/lm
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-09-13 03:54:03 -0700
committerKenneth Heafield <github@kheafield.com>2012-09-13 03:54:03 -0700
commita548c46f3d636093d26f44d5b7642c98def6f351 (patch)
treeb08690e9ed2d83b36dbb5bf947905544568e800b /klm/lm
parentf794c881ccaf4aa0646300dea1e1f6e7a307e019 (diff)
Fine remove the length check
Diffstat (limited to 'klm/lm')
-rw-r--r--klm/lm/read_arpa.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/klm/lm/read_arpa.cc b/klm/lm/read_arpa.cc
index 174bd3a3..b709fef9 100644
--- a/klm/lm/read_arpa.cc
+++ b/klm/lm/read_arpa.cc
@@ -38,7 +38,6 @@ uint64_t ReadCount(const std::string &from) {
uint64_t ret;
stream >> ret;
UTIL_THROW_IF(!stream, FormatLoadException, "Bad count " << from);
- UTIL_THROW_IF(static_cast<std::size_t>(stream.tellg()) != from.size(), FormatLoadException, "Extra content in count: '" << from << "'");
return ret;
}