From ea366c01af7d3dfff670f3ce8d45d06b38cd2c30 Mon Sep 17 00:00:00 2001 From: Dongryeol Lee Date: Fri, 31 Dec 2010 03:50:58 +0000 Subject: [PATCH] Crucial bug in the distributed kde test. --- .../mlpack/distributed_kde/distributed_kde.test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastlib/trunk/contrib/dongryel/thesis_research/mlpack/distributed_kde/distributed_kde.test.cc b/fastlib/trunk/contrib/dongryel/thesis_research/mlpack/distributed_kde/distributed_kde.test.cc index dd285fa417..e52ffc3cbb 100644 --- a/fastlib/trunk/contrib/dongryel/thesis_research/mlpack/distributed_kde/distributed_kde.test.cc +++ b/fastlib/trunk/contrib/dongryel/thesis_research/mlpack/distributed_kde/distributed_kde.test.cc @@ -97,6 +97,7 @@ class TestDistributed_Kde { else { // Send the table to the master process. world.send(0, i, *local_table); + break; } } if(world.rank() == 0) { @@ -215,7 +216,7 @@ class TestDistributed_Kde { num_dimensions = core::math::RandInt(3, 10); } boost::mpi::broadcast(world, num_dimensions, 0); - int num_points = core::math::RandInt(500, 1001); + int num_points = core::math::RandInt(50, 101); std::vector< std::string > args; // Push in the random generate command.