[mlpack-svn] r12478 - mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Apr 19 17:21:03 EDT 2012


Author: speet3
Date: 2012-04-19 17:21:02 -0400 (Thu, 19 Apr 2012)
New Revision: 12478

Added:
   mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/zero-memory-before-starting-test-r12476.patch
Modified:
   mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/series
Log:
patch in r12476 so that the debian package will not fail to build

Modified: mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/series
===================================================================
--- mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/series	2012-04-19 20:54:55 UTC (rev 12477)
+++ mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/series	2012-04-19 21:21:02 UTC (rev 12478)
@@ -2,3 +2,4 @@
 no-debug-or-profiling-info.patch
 require-manpage-generation.patch
 update-manpage-generation-for-less-errors.patch
+zero-memory-before-starting-test-r12476.patch

Added: mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/zero-memory-before-starting-test-r12476.patch
===================================================================
--- mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/zero-memory-before-starting-test-r12476.patch	                        (rev 0)
+++ mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/zero-memory-before-starting-test-r12476.patch	2012-04-19 21:21:02 UTC (rev 12478)
@@ -0,0 +1,10 @@
+--- a/src/mlpack/tests/distribution_test.cpp
++++ b/src/mlpack/tests/distribution_test.cpp
+@@ -54,6 +54,7 @@
+   d.Probabilities() = "0.3 0.6 0.1";
+ 
+   arma::vec actualProb(3);
++  actualProb.zeros();
+ 
+   for (size_t i = 0; i < 10000; i++)
+     actualProb((size_t) (d.Random()[0] + 0.5))++;




More information about the mlpack-svn mailing list