diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-21 18:22:12 +0300 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-21 18:29:37 +0300 |
commit | ee4e396a4dc64627c284dee5f26114b57e44b564 (patch) | |
tree | 880cead0ac9957088b14edb77ed141bfd04457df /moses/ConfusionNet.cpp | |
parent | fd56ba6afb31c7316d0c3859809d1d901d804dc3 (diff) |
Removed pointer to TranslationTask in InputTypes again. Not the right place to store this information.
Diffstat (limited to 'moses/ConfusionNet.cpp')
-rw-r--r-- | moses/ConfusionNet.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/moses/ConfusionNet.cpp b/moses/ConfusionNet.cpp index 658d437b4..e8a54a061 100644 --- a/moses/ConfusionNet.cpp +++ b/moses/ConfusionNet.cpp @@ -61,8 +61,7 @@ GetColumnIncrement(size_t i, size_t j) const } ConfusionNet:: -ConfusionNet(TranslationTask const* ttask) - : InputType(ttask) +ConfusionNet() : InputType() { stats.createOne(); @@ -80,8 +79,7 @@ ConfusionNet:: } ConfusionNet:: -ConfusionNet(Sentence const& s) - : InputType(s.GetTranslationTask()) +ConfusionNet(Sentence const& s) : InputType() { data.resize(s.GetSize()); for(size_t i=0; i<s.GetSize(); ++i) { |