summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 02:52:47 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-25 02:52:47 +0000
commit3469df4ef7163c056423e8815b9bb01534561cd5 (patch)
tree03a5558e3689cb445fadd4f50cb4b8251525c838
parentabf2311a2665097de2fd27fb83e1acbbe2a26f59 (diff)
defer to subclass Scan1
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@403 ec762483-ff6d-05da-a07a-a48fb63a330f
-rwxr-xr-xdecoder/ff_fsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_fsa.h b/decoder/ff_fsa.h
index e199ec04..16f3142c 100755
--- a/decoder/ff_fsa.h
+++ b/decoder/ff_fsa.h
@@ -136,7 +136,7 @@ public:
// NOTE: if you want to e.g. track statistics, cache, whatever, cast const away or use mutable members
inline void Scan(SentenceMetadata const& smeta,const Hypergraph::Edge& edge,WordID w,void const* state,void *next_state,FeatureVector *features) const {
- features->maybe_add(fid_,Scan1(w,state,next_state));
+ features->maybe_add(fid_,d().Scan1(w,state,next_state));
}
// don't set state-bytes etc. in ctor because it may depend on parsing param string