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>2012-04-12 00:19:11 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2012-04-12 00:19:11 +0400
commit49a4be289922d15adda93ca051a59f6f2ea827bb (patch)
tree0f37ccc84aaecf09c40d16f86714d49de9357d17 /mert/Optimizer.h
parent65dc5a391f10c078469b209063c7c683b211dde5 (diff)
Reduce the number of calling the numeric_limits constructor.
- Create a test module for Point. - Add test cases.
Diffstat (limited to 'mert/Optimizer.h')
-rw-r--r--mert/Optimizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mert/Optimizer.h b/mert/Optimizer.h
index 3de1f2f08..218a7b7e6 100644
--- a/mert/Optimizer.h
+++ b/mert/Optimizer.h
@@ -10,6 +10,8 @@
using namespace std;
+static const float kMaxFloat = numeric_limits<float>::max();
+
class Point;
/**