[mlpack-git] master, mlpack-1.0.x: Oops, this actually happens in two places. (6925692)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:48:27 EST 2015
Repository : https://github.com/mlpack/mlpack
On branches: master,mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 692569230a1cf0abe1eedff820cee8562cf81c87
Author: Ryan Curtin <ryan at ratml.org>
Date: Tue Jun 3 23:23:30 2014 +0000
Oops, this actually happens in two places.
>---------------------------------------------------------------
692569230a1cf0abe1eedff820cee8562cf81c87
src/mlpack/methods/kmeans/kmeans_main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/kmeans/kmeans_main.cpp b/src/mlpack/methods/kmeans/kmeans_main.cpp
index 65bbcd9..ef0b7bb 100644
--- a/src/mlpack/methods/kmeans/kmeans_main.cpp
+++ b/src/mlpack/methods/kmeans/kmeans_main.cpp
@@ -166,7 +166,7 @@ int main(int argc, char** argv)
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-git
mailing list