[mlpack-svn] r16903 - mlpack/trunk/src/mlpack/methods/emst

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


Author: rcurtin
Date: Mon Jul 28 14:00:12 2014
New Revision: 16903

Log:
This warning only appears on i386.


Modified:
   mlpack/trunk/src/mlpack/methods/emst/dtb_impl.hpp

Modified: mlpack/trunk/src/mlpack/methods/emst/dtb_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/emst/dtb_impl.hpp	(original)
+++ mlpack/trunk/src/mlpack/methods/emst/dtb_impl.hpp	Mon Jul 28 14:00:12 2014
@@ -268,7 +268,7 @@
 
   // Check components of points.
   for (size_t i = 0; i < tree->NumPoints(); ++i)
-    if (connections.Find(tree->Point(i)) != 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