[mlpack-svn] r13362 - mlpack/trunk/src/mlpack/methods/nmf

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Aug 7 15:56:54 EDT 2012


Author: rcurtin
Date: 2012-08-07 15:56:54 -0400 (Tue, 07 Aug 2012)
New Revision: 13362

Modified:
   mlpack/trunk/src/mlpack/methods/nmf/random_acol_init.hpp
Log:
Oops, a small typo...


Modified: mlpack/trunk/src/mlpack/methods/nmf/random_acol_init.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/nmf/random_acol_init.hpp	2012-08-07 19:52:08 UTC (rev 13361)
+++ mlpack/trunk/src/mlpack/methods/nmf/random_acol_init.hpp	2012-08-07 19:56:54 UTC (rev 13362)
@@ -45,7 +45,7 @@
           << "available in the V matrix; weird results may ensue!" << std::endl;
     }
 
-    W.zeros(n, m);
+    W.zeros(n, r);
 
     // Initialize W matrix with random columns.
     for (size_t col = 0; col < r; col++)




More information about the mlpack-svn mailing list