[mlpack] 104/324: Remove now-unnecessary include.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 06a0422d1bbf5023b13b1468a84025ee99c08dfd
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Jul 2 19:21:33 2014 +0000

    Remove now-unnecessary include.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16742 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/sa_test.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/tests/sa_test.cpp b/src/mlpack/tests/sa_test.cpp
index 97304b9..905373f 100644
--- a/src/mlpack/tests/sa_test.cpp
+++ b/src/mlpack/tests/sa_test.cpp
@@ -7,7 +7,6 @@
 #include <mlpack/core.hpp>
 #include <mlpack/core/optimizers/sa/sa.hpp>
 #include <mlpack/core/optimizers/sa/exponential_schedule.hpp>
-#include <mlpack/core/optimizers/sa/laplace_distribution.hpp>
 #include <mlpack/core/optimizers/lbfgs/test_functions.hpp>
 
 #include <mlpack/core/metrics/ip_metric.hpp>
@@ -31,10 +30,9 @@ BOOST_AUTO_TEST_CASE(GeneralizedRosenbrockTest)
   size_t dim = 50;
   GeneralizedRosenbrockFunction f(dim);
 
-  LaplaceDistribution moveDist;
   ExponentialSchedule schedule(1e-5);
-  SA<GeneralizedRosenbrockFunction, LaplaceDistribution, ExponentialSchedule> 
-      sa(f, moveDist, schedule, 1000.,1000, 100, 1e-9, 3, 20, 0.3, 0.3, 10000000);
+  SA<GeneralizedRosenbrockFunction, ExponentialSchedule>
+      sa(f, schedule, 1000.,1000, 100, 1e-9, 3, 20, 0.3, 0.3, 10000000);
   arma::mat coordinates = f.GetInitialPoint();
   double result = sa.Optimize(coordinates);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list