summaryrefslogtreecommitdiff
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
commitc25a0afc5d50b47fc2ffa388d8e43a7b93f6f266 (patch)
treee796707ebc5694e9b4d2502b371de179f17dc842
parent64f5a686dbfb128b7dfce1d6d842ba976da8c22f (diff)
set state size for external features
-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() {