diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-17 03:25:18 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-02-17 03:25:18 +0400 |
commit | c5e7e4cea7420d1cae4bea9ed7dc50613902f0b3 (patch) | |
tree | ece78935d933962ea9d9dcdc191609c77c52dbce | |
parent | 47b535ee0ad7f470904729c5b68d7aa267c35403 (diff) |
Bug fix mert: when you want to optimize fewer features.
This commit is a temporary bug fix.
-rwxr-xr-x | mert/mert.cpp | 3 |
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 { |