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:
authornicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-23 15:48:16 +0400
committernicolabertoldi <nicolabertoldi@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-23 15:48:16 +0400
commitc9593648bb165e2f21542818aa85ceb7fc53911a (patch)
tree587d5ef45f0bab367b592a5035703c3a761e08f4 /mert/FeatureStats.cpp
parente8d26f4f5cf958b859c98e9a86b636da4086e611 (diff)
change from int to unsigned where needed
add some debugging output (to remove later) git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1794 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/FeatureStats.cpp')
-rw-r--r--mert/FeatureStats.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mert/FeatureStats.cpp b/mert/FeatureStats.cpp
index 5d85c5655..54ea76295 100644
--- a/mert/FeatureStats.cpp
+++ b/mert/FeatureStats.cpp
@@ -19,7 +19,7 @@ array_(stats.array_)
FeatureStats::FeatureStats(const size_t size)
{
- for(int i = 0; i < size; i++)
+ for(unsigned int i = 0; i < size; i++)
array_.push_back(0);
};
@@ -32,7 +32,7 @@ FeatureStats::FeatureStats(std::string &theString)
void FeatureStats::set(std::string &theString)
{
std::string substring, stringBuf;
- std::string::size_type loc;
+
int nextPound;
FeatureStatsType sc;
// TRACE_ERR("Decompounding string: " << theString << std::endl);
@@ -79,7 +79,7 @@ void FeatureStats::savetxt(std::ofstream& outFile)
outFile << " " << *i;
i++;
}
- outFile << std::endl;
+// outFile << std::endl;
}