[mlpack] 235/324: This warning only appears on i386.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 861328acf4dfb1afe50f1b9599ec2b8eed5100ff
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Jul 28 18:00:12 2014 +0000

    This warning only appears on i386.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16903 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/emst/dtb_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/emst/dtb_impl.hpp b/src/mlpack/methods/emst/dtb_impl.hpp
index 2a257bc..1a14ad7 100644
--- a/src/mlpack/methods/emst/dtb_impl.hpp
+++ b/src/mlpack/methods/emst/dtb_impl.hpp
@@ -268,7 +268,7 @@ void DualTreeBoruvka<MetricType, TreeType>::CleanupHelper(TreeType* tree)
 
   // 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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list