diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-03-04 03:17:54 +0300 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2007-03-04 03:17:54 +0300 |
commit | 2c9f1a13fe4c3b2eac635db3703d7954ff039634 (patch) | |
tree | dc604defc85eb6936072cb2dee3e88f25f5e67df /moses-cmd | |
parent | c40d07d0a1816a14d84cc33e37dea1f266919899 (diff) |
make output of decimal places consistent by not format anywhere but in Main.cpp
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1265 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/src/Main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/moses-cmd/src/Main.cpp b/moses-cmd/src/Main.cpp index 7e2508f4b..7f9f7d341 100644 --- a/moses-cmd/src/Main.cpp +++ b/moses-cmd/src/Main.cpp @@ -79,6 +79,11 @@ int main(int argc, char* argv[]) TRACE_ERR(endl); } + cout.setf(std::ios::fixed); + cout.precision(5); + cerr.setf(std::ios::fixed); + cerr.precision(5); + // load data structures Parameter *parameter = new Parameter(); if (!parameter->LoadParam(argc, argv)) |