diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-04-12 00:19:11 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-04-12 00:19:11 +0400 |
commit | 49a4be289922d15adda93ca051a59f6f2ea827bb (patch) | |
tree | 0f37ccc84aaecf09c40d16f86714d49de9357d17 /mert/Optimizer.h | |
parent | 65dc5a391f10c078469b209063c7c683b211dde5 (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.h | 2 |
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; /** |