diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-10 12:28:38 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-10 12:28:38 +0400 |
commit | a1ab79c7fce9079b05affaf26427846254b8e909 (patch) | |
tree | 6e06591a0ea16fdde4506e563460751810fdd0b9 /mert/mert.cpp | |
parent | eb2c9ee5e3e4ed76dd9b155c1b509a22d5ab7f4f (diff) |
Pass by pointers to Scorer instead of references.
Diffstat (limited to 'mert/mert.cpp')
-rwxr-xr-x | mert/mert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/mert.cpp b/mert/mert.cpp index cd9efa45a..bc0252277 100755 --- a/mert/mert.cpp +++ b/mert/mert.cpp @@ -338,7 +338,7 @@ int main(int argc, char **argv) ScorerFactory::getScorer(option.scorer_type, option.scorer_config)); //load data - Data data(*scorer); + Data data(scorer.get()); for (size_t i = 0; i < ScoreDataFiles.size(); i++) { cerr<<"Loading Data from: "<< ScoreDataFiles.at(i) << " and " << FeatureDataFiles.at(i) << endl; |