From 3469df4ef7163c056423e8815b9bb01534561cd5 Mon Sep 17 00:00:00 2001 From: graehl Date: Sun, 25 Jul 2010 02:52:47 +0000 Subject: defer to subclass Scan1 git-svn-id: https://ws10smt.googlecode.com/svn/trunk@403 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/ff_fsa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3