[mlpack-svn] master: Clarify the warning. (2e70be5)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 31 16:11:42 EST 2014


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/7352e36d165e5212fa9704144351cce336eb658c...3c6b65e194a43c792c8760dc8551798b94128f60

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

commit 2e70be5b98869cc326df6a896dbfde504dd12492
Author: ryan <ryan at ratml.org>
Date:   Wed Dec 31 16:08:25 2014 -0500

    Clarify the warning.


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

2e70be5b98869cc326df6a896dbfde504dd12492
 src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp b/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
index 064b8af..31d4bd7 100644
--- a/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
+++ b/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
@@ -27,7 +27,9 @@ LRSDPFunction::LRSDPFunction(const size_t numSparseConstraints,
 {
   denseC.zeros();
   if (initialPoint.n_rows < initialPoint.n_cols)
-    Log::Warn << "initialPoint n_cols > n_rows" << endl;
+    Log::Warn << "LRSDPFunction::LRSDPFunction(): solution matrix will have "
+        << "more columns than rows.  It may be more efficient to find the "
+        << "transposed solution." << endl;
 }
 
 double LRSDPFunction::Evaluate(const arma::mat& coordinates) const




More information about the mlpack-svn mailing list