[mlpack] 186/207: Fix ambiguous namespace.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Mar 23 17:53:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 7af28c7eb8b989d7896c342f6e3bac89ef170a2f
Author: Ryan Curtin <ryan at ratml.org>
Date: Fri Mar 17 12:00:14 2017 -0400
Fix ambiguous namespace.
---
src/mlpack/methods/preprocess/preprocess_split_main.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mlpack/methods/preprocess/preprocess_split_main.cpp b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
index e0cf277..d60480a 100644
--- a/src/mlpack/methods/preprocess/preprocess_split_main.cpp
+++ b/src/mlpack/methods/preprocess/preprocess_split_main.cpp
@@ -81,9 +81,9 @@ int main(int argc, char** argv)
const double testRatio = CLI::GetParam<double>("test_ratio");
if (CLI::GetParam<int>("seed") == 0)
- math::RandomSeed(std::time(NULL));
+ mlpack::math::RandomSeed(std::time(NULL));
else
- math::RandomSeed((size_t) CLI::GetParam<int>("seed"));
+ mlpack::math::RandomSeed((size_t) CLI::GetParam<int>("seed"));
// Make sure the user specified output filenames.
if (trainingFile == "")
--
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