summaryrefslogtreecommitdiff
path: root/decoder/cfg_format.h
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-10-16 01:27:30 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-10-16 01:27:30 -0400
commit547953bb2a42c001004bdb83814000d688bec8ba (patch)
tree1f0bedf9a99df05f98b0188f1b7690a8d0c8a14c /decoder/cfg_format.h
parent07994f5e72052b0dd7110819a383ae955313f452 (diff)
parent09a522afef40e514e741ddf5f9bbc61cfb2170e8 (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'decoder/cfg_format.h')
-rw-r--r--decoder/cfg_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/cfg_format.h b/decoder/cfg_format.h
index 2f40d483..d12da261 100644
--- a/decoder/cfg_format.h
+++ b/decoder/cfg_format.h
@@ -100,7 +100,7 @@ struct CFGFormat {
}
}
- void print_features(std::ostream &o,prob_t p,FeatureVector const& fv=FeatureVector()) const {
+ void print_features(std::ostream &o,prob_t p,SparseVector<double> const& fv=SparseVector<double>()) const {
bool logp=(logprob_feat && p!=prob_t::One());
if (features || logp) {
o << partsep;