diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-02 22:09:10 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-02 22:09:10 +0300 |
commit | 3da84150959de4dc99edf3ee35665e81a23aae26 (patch) | |
tree | ee7c487a26f2d56f56763dd5fe8885f6d6130465 /moses/Util.h | |
parent | ba7afba9f6f325441387557ab8af487d5901f023 (diff) |
add OutputNBest() as abstract method to BaseManager. Tighten up framework
Diffstat (limited to 'moses/Util.h')
-rw-r--r-- | moses/Util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Util.h b/moses/Util.h index 74a130b9e..4d2ccea10 100644 --- a/moses/Util.h +++ b/moses/Util.h @@ -478,7 +478,7 @@ T log_sum (T log_a, T log_b) } /** Enforce rounding */ -inline void fix(std::ostream& stream, size_t size) +inline void FixPrecision(std::ostream& stream, size_t size = 3) { stream.setf(std::ios::fixed); stream.precision(size); |