[mlpack-svn] r16902 - mlpack/tags/mlpack-1.0.9/src/mlpack/methods/emst

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jul 28 13:59:52 EDT 2014


Author: rcurtin
Date: Mon Jul 28 13:59:51 2014
New Revision: 16902

Log:
Oops, I didn't actually fix that warning.


Modified:
   mlpack/tags/mlpack-1.0.9/src/mlpack/methods/emst/dtb_impl.hpp

Modified: mlpack/tags/mlpack-1.0.9/src/mlpack/methods/emst/dtb_impl.hpp
==============================================================================
--- mlpack/tags/mlpack-1.0.9/src/mlpack/methods/emst/dtb_impl.hpp	(original)
+++ mlpack/tags/mlpack-1.0.9/src/mlpack/methods/emst/dtb_impl.hpp	Mon Jul 28 13:59:51 2014
@@ -283,7 +283,7 @@
 
   // Check components of points.
   for (size_t i = 0; i < tree->NumPoints(); ++i)
-    if (connections.Find(tree->Point(i)) != int(component))
+    if (connections.Find(tree->Point(i)) != size_t(component))
       return;
 
   // If we made it this far, all components are the same.



More information about the mlpack-svn mailing list