Hi,

Please find attached a patch fixing typos in unit tests of
linear-algebra 2.2.0. It will be incorporated in the upcoming Debian
release.

Thanks,
Description: Fix typos in unit tests
Author: Sébastien Villemot <sebastien.ville...@ens.fr>
Forwarded: no
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;
-- 
Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594

Attachment: pgpbaGkxHNCS8.pgp
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to