diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-12 03:00:40 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2015-11-12 03:00:40 +0300 |
commit | dad1bd6127115cda89158c4c8fcf35cc4451218c (patch) | |
tree | 8dc4f64231ee71dbbce0e595093b33b20e0c21de /moses/TrellisPath.h | |
parent | 858a509d53a9bb990e3a33bd968d2e721b34572c (diff) |
daily automatic beautifier
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r-- | moses/TrellisPath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TrellisPath.h b/moses/TrellisPath.h index 3367d932d..5a92d54e0 100644 --- a/moses/TrellisPath.h +++ b/moses/TrellisPath.h @@ -47,7 +47,7 @@ class TrellisPath protected: std::vector<const Hypothesis *> m_path; //< list of hypotheses/arcs - size_t m_prevEdgeChanged; + size_t m_prevEdgeChanged; /**< the last node that was wiggled to create this path , or NOT_FOUND if this path is the best trans so consist of only hypos */ @@ -60,7 +60,7 @@ protected: void InitTotalScore(); - Manager const& manager() const { + Manager const& manager() const { UTIL_THROW_IF2(m_path.size() == 0, "zero-length trellis path"); return m_path[0]->GetManager(); } |