[mlpack-git] [mlpack/mlpack] Use move semantics to set a given reference tree in NeighborSearch class. (#765)

Ryan Curtin notifications at github.com
Mon Aug 29 16:57:32 EDT 2016


> @@ -150,10 +153,70 @@ class NeighborSearch
>     * @param epsilon Relative approximate error (non-negative).
>     * @param metric Instantiated distance metric.
>     */
> -  NeighborSearch(Tree* referenceTree,
> -                 const NeighborSearchMode mode = DUAL_TREE_MODE,
> -                 const double epsilon = 0,
> -                 const MetricType metric = MetricType());
> +  mlpack_deprecated NeighborSearch(
> +      Tree* referenceTree,
> +      const NeighborSearchMode mode = DUAL_TREE_MODE,
> +      const double epsilon = 0,
> +      const MetricType metric = MetricType());

There was never a release of this constructor in a non-deprecated form, so I think we can simply remove this one.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/765/files/8bf2e5c7dbcf3e9c9db6339d371fe17ba046ea75#r76685818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160829/fe00aef5/attachment.html>


More information about the mlpack-git mailing list