[mlpack-git] master: Pedanticism: return a value at the end of main(). (0f2aa34)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:03:25 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 0f2aa345814e6101299308e735f0a1e911b0e4f9
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Nov 18 21:36:23 2014 +0000

    Pedanticism: return a value at the end of main().


>---------------------------------------------------------------

0f2aa345814e6101299308e735f0a1e911b0e4f9
 src/mlpack/methods/pca/pca_main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mlpack/methods/pca/pca_main.cpp b/src/mlpack/methods/pca/pca_main.cpp
index 6277c5b..422b2a6 100644
--- a/src/mlpack/methods/pca/pca_main.cpp
+++ b/src/mlpack/methods/pca/pca_main.cpp
@@ -80,4 +80,6 @@ int main(int argc, char** argv)
   // Now save the results.
   string outputFile = CLI::GetParam<string>("output_file");
   data::Save(outputFile, dataset);
+
+  return 0;
 }



More information about the mlpack-git mailing list