Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mert/mert.cpp')
-rwxr-xr-xmert/mert.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mert/mert.cpp b/mert/mert.cpp
index 58214f30b..e47f2e6c1 100755
--- a/mert/mert.cpp
+++ b/mert/mert.cpp
@@ -370,6 +370,9 @@ int main(int argc, char **argv)
to_optimize.push_back(index);
} else {
cerr << "Index " << index << " is out of bounds. Allowed indexes are [0," << option.pdim - 1 << "]." << endl;
+
+ // Note: this is temporary bug fix.
+ to_optimize.push_back(index);
}
}
} else {