[Pkg-octave-commit] [SCM] Debian packaging for octave-linear-algebra branch, master, updated. debian/2.1.0-2-10-g63b5572
Sébastien Villemot
sebastien.villemot at ens.fr
Mon May 21 21:44:55 UTC 2012
The following commit has been merged in the master branch:
commit 703d92cc929549f746ae291e729bb65233c61199
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date: Mon May 21 21:44:24 2012 +0200
fix-tests.patch: new patch
diff --git a/debian/patches/fix-tests.patch b/debian/patches/fix-tests.patch
new file mode 100644
index 0000000..528e68e
--- /dev/null
+++ b/debian/patches/fix-tests.patch
@@ -0,0 +1,36 @@
+Description: Fix typos in unit tests
+Author: Sébastien Villemot <sebastien.villemot at ens.fr>
+Forwarded: http://sourceforge.net/mailarchive/message.php?msg_id=29295228
+Last-Update: 2012-05-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/inst/circulant_inv.m
++++ b/inst/circulant_inv.m
+@@ -41,4 +41,4 @@
+
+ %!shared v
+ %! v = [1 2 3]';
+-%!assert (make_circulant_matrix(circulant_inv(v)), inv(make_circulant_matrix(v)), 10*eps);
++%!assert (circulant_make_matrix(circulant_inv(v)), inv(circulant_make_matrix(v)), 10*eps);
+--- a/inst/nmf_bpas.m
++++ b/inst/nmf_bpas.m
+@@ -653,16 +653,16 @@
+ %! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2);
+
+ %!test
+-%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'nnls_solver','as');
++%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'nnlssolver','as');
+
+ %!test
+ %! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse');
+
+ %!test
+-%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse','nnls_solver','bp','alpha',1.1,'beta',1.3);
++%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',1,'type','sparse','nnlssolver','bp','alpha',1.1,'beta',1.3);
+
+ %!test
+-%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2,'type','plain','w_init',rand(m,k));
++%! [W,H,iter,HIS]=nmf_bpas(A,k,'verbose',2,'type','plain','winit',rand(m,k));
+
+ %!demo
+ %! m = 300;
diff --git a/debian/patches/series b/debian/patches/series
index a228a81..2301b3d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-tests.patch
autoload-yes.patch
--
Debian packaging for octave-linear-algebra
More information about the Pkg-octave-commit
mailing list