summaryrefslogtreecommitdiff
path: root/decoder/tdict.cc
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-21 22:09:50 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-21 22:09:50 +0000
commit8700e2ee96a71ed267617ce1ebd4ef3a002a1f6c (patch)
treefa4bb7fd70fbd422a3a7a9564fa8ba86aff2797f /decoder/tdict.cc
parentc9416968b391f10891733a00cc57bda27b4d323d (diff)
disabled TD reserved stuff - debug init assertion later
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@364 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/tdict.cc')
-rw-r--r--decoder/tdict.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/decoder/tdict.cc b/decoder/tdict.cc
index 04b82c51..6794bc79 100644
--- a/decoder/tdict.cc
+++ b/decoder/tdict.cc
@@ -24,7 +24,7 @@ inline void pad(std::string const& pre,int base,int e) {
o.str(pre);
o<<(i-base)<<'>';
WordID id=TD::Convert(o.str());
- assert(id==i);
+ assert(id==i); // this fails. why?
}
}
@@ -32,6 +32,8 @@ inline void pad(std::string const& pre,int base,int e) {
namespace {
struct TD_init {
TD_init() {
+ /*
+ // disabled for now since it's breaking trunk
assert(TD::Convert(TD::ss_str)==TD::ss);
assert(TD::Convert(TD::se_str)==TD::se);
assert(TD::Convert(TD::unk_str)==TD::unk);
@@ -41,6 +43,7 @@ struct TD_init {
int reserved_end=TD::begin();
pad("<RESERVED",TD::end(),reserved_end);
assert(TD::end()==reserved_end);
+ */
}
};