diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-26 20:54:12 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-26 20:54:12 +0000 |
commit | 089c60cae00edefe3e45baae04e3582f5819849c (patch) | |
tree | 709a5b53be34c8dd41fda0b12a809bfa3adee01b | |
parent | ba5267bddf74b6bc31b605810cbfe6597ab65cbf (diff) |
kbest compile
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@427 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r-- | decoder/kbest.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoder/kbest.h b/decoder/kbest.h index 4dcd1362..3eb8707b 100644 --- a/decoder/kbest.h +++ b/decoder/kbest.h @@ -91,8 +91,7 @@ namespace KBest { } std::string derivation_tree(Derivation const& d,bool indent=true,int show_mask=Hypergraph::SPAN|Hypergraph::RULE,int maxdepth=0x7FFFFFFF,int depth=0) const { - EdgeHandle eh(d); - return d.edge->derivation_tree(*this,eh,indent,show_mask,maxdepth,depth); + return d.edge->derivation_tree(*this,EdgeHandle(&d),indent,show_mask,maxdepth,depth); } struct DerivationUniquenessHash { |