[mlpack-git] [mlpack/mlpack] Universal B tree implementation (#746)
Ryan Curtin
notifications at github.com
Wed Aug 17 00:58:06 EDT 2016
> +}
> +
> +template<typename BoundType, typename MatType>
> +bool UBTreeSplit<BoundType, MatType>::SplitNode(BoundType& bound,
> + MatType& data,
> + const size_t begin,
> + const size_t count,
> + size_t& splitCol,
> + std::vector<size_t>& oldFromNew)
> +{
> + constexpr size_t order = sizeof(AddressElemType) * CHAR_BIT;
> + if (begin == 0 && count == data.n_cols)
> + {
> + InitializeAddresses(data);
> +
> + std::sort(addresses.begin(), addresses.end(),ComparePair);
This is a minor issue; there is a space missing between `addresses.end(),` and `ComparePair`. :)
--
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/746/files/8c5a97dcb1641ae6c98edc70426fb19f5cd7cb79#r75062615
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160816/907d4d9d/attachment.html>
More information about the mlpack-git
mailing list