summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-11 22:19:42 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-11 22:19:42 -0400
commit05ca9a263291f1ce48b09689d10199a68e7ea3b3 (patch)
tree57db409c3e967568eef30d479c74e985b287f041 /decoder
parentfc13e7db2af155a7b636e4061f3567ea3957fd9a (diff)
set state size for external features
Diffstat (limited to 'decoder')
-rw-r--r--decoder/ff_external.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ff_external.cc b/decoder/ff_external.cc
index 520e98b1..dbb903d0 100644
--- a/decoder/ff_external.cc
+++ b/decoder/ff_external.cc
@@ -30,6 +30,7 @@ ExternalFeature::ExternalFeature(const string& param) {
abort();
}
ff_ext = (*fn)(nparam);
+ SetStateSize(ff_ext->StateSize());
}
ExternalFeature::~ExternalFeature() {