[mlpack-git] [mlpack/mlpack] Removed RectangleTree::Points() (#709)

lozhnikov notifications at github.com
Tue Jun 28 17:42:52 EDT 2016


> @@ -424,7 +419,10 @@ class RectangleTree
>     *
>     * @param index Index of point for which a dataset index is wanted.
>     */
> -  size_t Point(const size_t index) const;
> +  const size_t& Point(const size_t index) const { return points[index]; }

You're right, the reference is not needed here.

---
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/709/files/707efdc2a6e1fec461942cfa81323ea232f3427d#r68849427
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160628/5233b009/attachment.html>


More information about the mlpack-git mailing list