[mlpack-git] [mlpack/mlpack] using rvalue references to set a given reference tree in FastMKS and DualTreeBoruvka (#799)

Anuraj Kanodia notifications at github.com
Wed Nov 2 08:58:12 EDT 2016

akanuraj200 commented on this pull request.

   if (treeOwner && referenceTree)
     delete referenceTree;
+  referenceTree = new Tree(tree);    
+  referenceSet = &tree->Dataset();
+  metric = metric::IPMetric<KernelType>(tree->Metric().Kernel());

`metric = metric::IPMetric<KernelType>(tree.Metric().Kernel());`

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161102/39e1b0f0/attachment.html>

More information about the mlpack-git mailing list