diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-10 06:17:36 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-11 04:09:22 +0300 |
commit | 29694af6e43c1cec7a6fd0b157eb44faca706129 (patch) | |
tree | acda250a83c5a3a4244be011f1f4b9e6337f5d6b /moses/InputType.cpp | |
parent | 240b88c6834c9c94e8a6448a34dc4ad33bdf3fbd (diff) |
Code cleanup and refactoring.
Diffstat (limited to 'moses/InputType.cpp')
-rw-r--r-- | moses/InputType.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/InputType.cpp b/moses/InputType.cpp index a47c03ff7..34894523f 100644 --- a/moses/InputType.cpp +++ b/moses/InputType.cpp @@ -29,9 +29,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA namespace Moses { - InputType::InputType(AllOptions::ptr const& opts, long translationId) +InputType::InputType(AllOptions::ptr const& opts, long translationId) : m_options(opts) , m_translationId(translationId) + , m_reorderingConstraint(opts->reordering.max_distortion) { m_frontSpanCoveredLength = 0; m_sourceCompleted.resize(0); |