[mlpack] 42/324: Oops, this actually happens in two places.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:21:54 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 1fc260f376c815e20a0ac4f432fac288a4a13135
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Tue Jun 3 23:23:30 2014 +0000
Oops, this actually happens in two places.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16625 9d5b8971-822b-0410-80eb-d18c1038ef23
---
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 "
--
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