[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:57:40 EDT 2016


akanuraj200 commented on this pull request.



>  
   if (treeOwner && referenceTree)
     delete referenceTree;
+    
+  referenceTree = new Tree(tree);    
+  referenceSet = &tree->Dataset();

`referenceSet = &tree.Dataset();`

-- 
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/799#pullrequestreview-6806748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161102/376d6e42/attachment.html>


More information about the mlpack-git mailing list