[mlpack-git] master: Remove debugging output. (edf35a0)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Oct 14 05:02:53 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/81e72d4410ae417f7a8536bd3c61865e2f62c934...ce49a4b5f0b7d12d4955c09e45c69891a6f83e8a

>---------------------------------------------------------------

commit edf35a00c4708f90c8a4bba89dab987f020109f5
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Oct 14 04:19:01 2015 -0400

    Remove debugging output.


>---------------------------------------------------------------

edf35a00c4708f90c8a4bba89dab987f020109f5
 src/mlpack/tests/serialization_test.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/mlpack/tests/serialization_test.cpp b/src/mlpack/tests/serialization_test.cpp
index bc84a5d..2e1c2c7 100644
--- a/src/mlpack/tests/serialization_test.cpp
+++ b/src/mlpack/tests/serialization_test.cpp
@@ -611,8 +611,6 @@ void CheckTrees(TreeType& tree,
                 TreeType& binaryTree)
 {
   const typename TreeType::Mat* dataset = &tree.Dataset();
-  std::cout << "check tree node " << tree.NumChildren() << " desc " <<
-tree.NumDescendants() << ".\n";
 
   // Make sure that the data matrices are the same.
   if (tree.Parent() == NULL)
@@ -634,9 +632,6 @@ tree.NumDescendants() << ".\n";
   BOOST_REQUIRE_EQUAL(tree.NumChildren(), binaryTree.NumChildren());
 
   // Make sure the number of descendants is the same.
-  std::cout << "xmltree numdesc\n";
-  const size_t numDesc = binaryTree.NumDescendants();
-  std::cout << "xmltree numdesc done.\n";
   BOOST_REQUIRE_EQUAL(tree.NumDescendants(), xmlTree.NumDescendants());
   BOOST_REQUIRE_EQUAL(tree.NumDescendants(), textTree.NumDescendants());
   BOOST_REQUIRE_EQUAL(tree.NumDescendants(), binaryTree.NumDescendants());
@@ -847,7 +842,6 @@ BOOST_AUTO_TEST_CASE(RectangleTreeTest)
   TreeType* binaryTree;
 
   SerializePointerObjectAll(&tree, xmlTree, textTree, binaryTree);
-  std::cout << "serialization complete\n";
 
   CheckTrees(tree, *xmlTree, *textTree, *binaryTree);
 



More information about the mlpack-git mailing list