[mlpack] 19/35: Fix wrong conditional for printing warning.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Sep 15 23:29:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 3645827efbfeaa9d2e0ecb34533855e220cc9149
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 13 16:59:54 2016 -0400
Fix wrong conditional for printing warning.
---
src/mlpack/methods/hmm/hmm_viterbi_main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/hmm/hmm_viterbi_main.cpp b/src/mlpack/methods/hmm/hmm_viterbi_main.cpp
index 43d5416..47085a4 100644
--- a/src/mlpack/methods/hmm/hmm_viterbi_main.cpp
+++ b/src/mlpack/methods/hmm/hmm_viterbi_main.cpp
@@ -80,7 +80,7 @@ int main(int argc, char** argv)
// Parse command line options.
CLI::ParseCommandLine(argc, argv);
- if (CLI::HasParam("output_file"))
+ if (!CLI::HasParam("output_file"))
Log::Warn << "--output_file (-o) is not specified; no results will be "
<< "saved!" << endl;
--
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