[mlpack-svn] r13927 - mlpack/trunk/src/mlpack/methods/fastmks
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Nov 23 21:19:15 EST 2012
Author: rcurtin
Date: 2012-11-23 21:19:15 -0500 (Fri, 23 Nov 2012)
New Revision: 13927
Modified:
mlpack/trunk/src/mlpack/methods/fastmks/fastmks_impl.hpp
Log:
Update for cover tree API change.
Modified: mlpack/trunk/src/mlpack/methods/fastmks/fastmks_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/fastmks/fastmks_impl.hpp 2012-11-23 22:03:26 UTC (rev 13926)
+++ mlpack/trunk/src/mlpack/methods/fastmks/fastmks_impl.hpp 2012-11-24 02:19:15 UTC (rev 13927)
@@ -62,7 +62,7 @@
// To ensure that this node satisfies the covering principle, we must ensure
// that the distance to each child is less than pow(expansionConstant, scale).
- double maxDistance = pow(node.ExpansionConstant(), node.Scale());
+ double maxDistance = pow(node.Base(), node.Scale());
for (size_t i = 0; i < node.NumChildren(); ++i)
{
const size_t childPoint = node.Child(i).Point();
More information about the mlpack-svn
mailing list