[mlpack-git] master: Remove extra line, fix misspelling. (3274b05)
gitdub at mlpack.org
gitdub at mlpack.org
Mon Aug 22 14:40:45 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/5429a59ec38c2b8ebaf27257c74b5e45594976e1...3274b05fcc545c3b36f783316fea2e22f79c3d03
>---------------------------------------------------------------
commit 3274b05fcc545c3b36f783316fea2e22f79c3d03
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Aug 22 14:40:45 2016 -0400
Remove extra line, fix misspelling.
>---------------------------------------------------------------
3274b05fcc545c3b36f783316fea2e22f79c3d03
src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp | 2 +-
src/mlpack/tests/rectangle_tree_test.cpp | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp b/src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp
index 5c549f8..4b74617 100644
--- a/src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp
+++ b/src/mlpack/core/tree/rectangle_tree/discrete_hilbert_value_impl.hpp
@@ -74,7 +74,7 @@ DiscreteHilbertValue(const DiscreteHilbertValue& other,
if (deepCopy)
{
// Only leaf nodes own the localHilbertValues dataset.
- // Intarmediate nodes store the pointer to the corresponding dataset.
+ // Intermediate nodes store the pointer to the corresponding dataset.
if (ownsLocalHilbertValues)
localHilbertValues = new arma::Mat<HilbertElemType>(
*other.LocalHilbertValues());
diff --git a/src/mlpack/tests/rectangle_tree_test.cpp b/src/mlpack/tests/rectangle_tree_test.cpp
index a9060eb..41743b1 100644
--- a/src/mlpack/tests/rectangle_tree_test.cpp
+++ b/src/mlpack/tests/rectangle_tree_test.cpp
@@ -1267,7 +1267,6 @@ BOOST_AUTO_TEST_CASE(RTreeSplitTest)
0.9, 1e-15);
}
-
// Test the tree splitting. We set MaxLeafSize and MaxNumChildren rather low
// to allow us to test by hand without adding hundreds of points.
BOOST_AUTO_TEST_CASE(RStarTreeSplitTest)
More information about the mlpack-git
mailing list