[mlpack-svn] r10715 - mlpack/trunk/src/mlpack/core/tree

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Dec 12 05:15:30 EST 2011


Author: rcurtin
Date: 2011-12-12 05:15:30 -0500 (Mon, 12 Dec 2011)
New Revision: 10715

Modified:
   mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
Log:
A typedef so other types that depend on the matrix type can use it.


Modified: mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp	2011-12-12 10:01:24 UTC (rev 10714)
+++ mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp	2011-12-12 10:15:30 UTC (rev 10715)
@@ -63,6 +63,9 @@
   size_t leafSize;
 
  public:
+  //! So other classes can use TreeType::Mat.
+  typedef MatType Mat;
+
   /**
    * Construct this as the root node of a binary space tree using the given
    * dataset.  This will modify the ordering of the points in the dataset!




More information about the mlpack-svn mailing list