[mlpack-git] master, mlpack-1.0.x: Update documentation (thanks Yubao). (d89ee04)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:41:46 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 d89ee0471416fb9fd9b976a50ccd9953afe86e65
Author: Ryan Curtin <ryan at ratml.org>
Date: Tue Feb 4 02:46:48 2014 +0000
Update documentation (thanks Yubao).
>---------------------------------------------------------------
d89ee0471416fb9fd9b976a50ccd9953afe86e65
doc/guide/iodoc.hpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/guide/iodoc.hpp b/doc/guide/iodoc.hpp
index 0550642..25bab3a 100644
--- a/doc/guide/iodoc.hpp
+++ b/doc/guide/iodoc.hpp
@@ -31,8 +31,10 @@ Here is a simple example, and its output:
using namespace mlpack;
-int main()
+int main(int argc, char** argv)
{
+ CLI::ParseCommandLine(argc, argv);
+
Log::Debug << "Compiled with debugging symbols." << std::endl;
Log::Info << "Some test informational output." << std::endl;
More information about the mlpack-git
mailing list