[mlpack] [mlpack/mlpack] Implement DTree copy constructor, move constructor, and copy assignment operator (#817)
Ryan Curtin
notifications at github.com
Wed Nov 23 17:15:49 EST 2016
The `mlpack::det::DTree` class doesn't implement a copy constructor, move constructor, or copy assignment operator, meaning that if I do this:
```
DTree a = std::move(b); // b is another DTree
```
the child pointers of `b` aren't properly updated. So, these constructors and assignment operators need to be added.
`DTree` can be found in `src/mlpack/methods/det/dtree.hpp`.
--
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/issues/817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20161123/c310be32/attachment-0001.html>
More information about the mlpack
mailing list