diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-10 02:51:05 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-10 02:51:05 +0400 |
commit | 9c9d88a78a13d7bd5ad4f10b06c355519e4e41ad (patch) | |
tree | 7961401877857cf42849916ef7aaba8258a1bc55 /mert/BleuScorerTest.cpp | |
parent | aa269bdb4d82207d1381069c256745780f7cd798 (diff) |
Avoid "using namespace std" in headers.
Diffstat (limited to 'mert/BleuScorerTest.cpp')
-rw-r--r-- | mert/BleuScorerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mert/BleuScorerTest.cpp b/mert/BleuScorerTest.cpp index 5da4cfc6c..5a7de9654 100644 --- a/mert/BleuScorerTest.cpp +++ b/mert/BleuScorerTest.cpp @@ -220,7 +220,7 @@ BOOST_AUTO_TEST_CASE(bleu_clipped_counts) { BOOST_AUTO_TEST_CASE(calculate_actual_score) { BOOST_REQUIRE(4 == kBleuNgramOrder); - vector<int> stats(2 * kBleuNgramOrder + 1); + std::vector<int> stats(2 * kBleuNgramOrder + 1); BleuScorer scorer; // unigram @@ -247,7 +247,7 @@ BOOST_AUTO_TEST_CASE(calculate_actual_score) { BOOST_AUTO_TEST_CASE(sentence_level_bleu) { BOOST_REQUIRE(4 == kBleuNgramOrder); - vector<float> stats(2 * kBleuNgramOrder + 1); + std::vector<float> stats(2 * kBleuNgramOrder + 1); // unigram stats[0] = 6.0; |