[mlpack-svn] r16624 - mlpack/trunk/src/mlpack/methods/kmeans
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Jun 3 19:16:36 EDT 2014
Author: rcurtin
Date: Tue Jun 3 19:16:35 2014
New Revision: 16624
Log:
Typo which causes a segfault.
Modified:
mlpack/trunk/src/mlpack/methods/kmeans/kmeans_main.cpp
Modified: mlpack/trunk/src/mlpack/methods/kmeans/kmeans_main.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/kmeans/kmeans_main.cpp (original)
+++ mlpack/trunk/src/mlpack/methods/kmeans/kmeans_main.cpp Tue Jun 3 19:16:35 2014
@@ -133,7 +133,7 @@
if (CLI::HasParam("refined_start"))
{
const int samplings = CLI::GetParam<int>("samplings");
- const double percentage = CLI::GetParam<int>("percentage");
+ const double percentage = CLI::GetParam<double>("percentage");
if (samplings < 0)
Log::Fatal << "Number of samplings (" << samplings << ") must be "
More information about the mlpack-svn
mailing list