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:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 03:58:23 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2011-11-12 03:58:23 +0400
commit68315d6407f55ff98b3b3bf89dc725d2ccad8019 (patch)
tree6d4e95512f522e857d39e8f796dcf4dbfee003d8 /mert/FeatureStats.cpp
parent4f6d022fe7fa6c8e3279de2221a24f11afd8f8ba (diff)
Fix class, function, and implementation comments format.
Functions comments should be placed in their declarations.
Diffstat (limited to 'mert/FeatureStats.cpp')
-rw-r--r--mert/FeatureStats.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/mert/FeatureStats.cpp b/mert/FeatureStats.cpp
index 21d97f61d..7eac95528 100644
--- a/mert/FeatureStats.cpp
+++ b/mert/FeatureStats.cpp
@@ -65,7 +65,7 @@ SparseVector& SparseVector::operator-=(const SparseVector& rhs) {
}
//Any elements in rhs, that have no value in *this
- for (fvector_t::const_iterator i = rhs.fvector_.begin();
+ for (fvector_t::const_iterator i = rhs.fvector_.begin();
i != rhs.fvector_.end(); ++i) {
if (fvector_.find(i->first) == fvector_.end()) {
fvector_[i->first] = -(i->second);
@@ -211,8 +211,6 @@ FeatureStats& FeatureStats::operator=(const FeatureStats &stats)
return *this;
}
-
-/**write the whole object to a stream*/
ostream& operator<<(ostream& o, const FeatureStats& e)
{
// print regular features