diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-31 05:47:28 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-31 05:47:28 +0400 |
commit | 9686e86c70b7284b55861b0e16b3d16c2f1b4408 (patch) | |
tree | 123d58cbd81b6ddbd1291edfaf2fc31e27e4fe17 /mert/OptimizerFactoryTest.cpp | |
parent | 24b1314d901fe1d19f5b70c0616c3d4d9a5c57d8 (diff) |
Fix a warning: comparison between signed and unsigned integers.
Diffstat (limited to 'mert/OptimizerFactoryTest.cpp')
-rw-r--r-- | mert/OptimizerFactoryTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/OptimizerFactoryTest.cpp b/mert/OptimizerFactoryTest.cpp index 82f606410..53c2d252a 100644 --- a/mert/OptimizerFactoryTest.cpp +++ b/mert/OptimizerFactoryTest.cpp @@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(optimizer_build) { start.push_back(0.2); const unsigned int num_random = 1; std::vector<bool> positive(dim); - for (int k=0; k < dim; k++) + for (unsigned int k = 0; k < dim; k++) positive[k] = false; BOOST_CHECK(CheckBuildOptimizer(dim, to_optimize, positive, start, "powell", num_random)); |