[mlpack-git] master: Now we have C++11, but there's no constructor copypasta problem anymore. (22a31e2)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:01:32 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 22a31e236c76400875f44e3bf01f15527f54c590
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Oct 13 15:42:36 2014 +0000
Now we have C++11, but there's no constructor copypasta problem anymore.
>---------------------------------------------------------------
22a31e236c76400875f44e3bf01f15527f54c590
src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
index 33b2577..a0f4dc7 100644
--- a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
@@ -59,9 +59,6 @@ NeighborSearch(const typename TreeType::Mat& referenceSetIn,
singleMode(!naive && singleMode), // No single mode if naive.
metric(metric)
{
- // C++11 will allow us to call out to other constructors so we can avoid this
- // copy/paste problem.
-
// We'll time tree building, but only if we are building trees.
Timer::Start("tree_building");
More information about the mlpack-git
mailing list