summaryrefslogtreecommitdiff
path: root/decoder/cfg.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 03:02:38 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-11 03:02:38 +0000
commit5b6a409e0818529ca4ac1c080bd091437eae2911 (patch)
tree26fd6f4fb8ed02b358ee7e757b7a30467316bf3f /decoder/cfg.h
parentfd5351477569ab0db63b38aa2a2da3bbb2b2a1a6 (diff)
cfg binarization compiles
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@515 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cfg.h')
-rwxr-xr-xdecoder/cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cfg.h b/decoder/cfg.h
index 19d30f8b..e068e78b 100755
--- a/decoder/cfg.h
+++ b/decoder/cfg.h
@@ -48,6 +48,7 @@ struct CFG {
struct Rule {
// for binarizing - no costs/probs
+ Rule() { }
Rule(int lhs,BinRhs const& binrhs) : lhs(lhs),rhs(2),p(1) {
rhs[0]=binrhs.first;
rhs[1]=binrhs.second;