[mlpack-svn] r17379 - mlpack/trunk/src/mlpack/methods/pca

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Nov 18 16:53:18 EST 2014


Author: rcurtin
Date: Tue Nov 18 16:53:18 2014
New Revision: 17379

Log:
Nope, turns out I am wrong.  C++03, C++11, and C++14 all assume a program
reaching the end of main() without returning anything will return 0.


Modified:
   mlpack/trunk/src/mlpack/methods/pca/pca_main.cpp

Modified: mlpack/trunk/src/mlpack/methods/pca/pca_main.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/pca/pca_main.cpp	(original)
+++ mlpack/trunk/src/mlpack/methods/pca/pca_main.cpp	Tue Nov 18 16:53:18 2014
@@ -80,6 +80,4 @@
   // Now save the results.
   string outputFile = CLI::GetParam<string>("output_file");
   data::Save(outputFile, dataset);
-
-  return 0;
 }



More information about the mlpack-svn mailing list