[mlpack-svn] r13360 - mlpack/trunk/src/mlpack/tests

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


Author: rcurtin
Date: 2012-08-07 15:25:58 -0400 (Tue, 07 Aug 2012)
New Revision: 13360

Modified:
   mlpack/trunk/src/mlpack/tests/nmf_test.cpp
Log:
RandomAcolInitialization was modified to take a template parameter so now we
must specify the <>.


Modified: mlpack/trunk/src/mlpack/tests/nmf_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/nmf_test.cpp	2012-08-07 18:55:30 UTC (rev 13359)
+++ mlpack/trunk/src/mlpack/tests/nmf_test.cpp	2012-08-07 19:25:58 UTC (rev 13360)
@@ -52,7 +52,7 @@
   mat v = w * h;
   size_t r = 16;
 
-  NMF<RandomAcolInitialization> nmf;
+  NMF<RandomAcolInitialization<> > nmf;
   nmf.Apply(v, r, w, h);
 
   mat wh = w * h;
@@ -73,7 +73,7 @@
   mat v = w * h;
   size_t r = 16;
 
-  NMF<RandomInitialization, 
+  NMF<RandomInitialization,
       WMultiplicativeDivergenceRule,
       HMultiplicativeDivergenceRule> nmf;
   nmf.Apply(v, r, w, h);
@@ -96,7 +96,7 @@
   mat v = w * h;
   size_t r = 16;
 
-  NMF<RandomInitialization, 
+  NMF<RandomInitialization,
       WAlternatingLeastSquaresRule,
       HAlternatingLeastSquaresRule> nmf;
   nmf.Apply(v, r, w, h);




More information about the mlpack-svn mailing list