[Pkg-octave-commit] [SCM] octave-forge-pkgs branch, master, updated. 53977482d6efb2cdba858f539443dc27acb122a7

Rafael Laboissiere rafael at debian.org
Fri May 22 22:39:18 UTC 2009


The following commit has been merged in the master branch:
commit 53977482d6efb2cdba858f539443dc27acb122a7
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat May 23 00:39:03 2009 +0200

    Add note about test failure in nurbs package

diff --git a/TODO b/TODO
index 6fb62dc..fce1c43 100644
--- a/TODO
+++ b/TODO
@@ -202,8 +202,25 @@
   - [X] Clarify the copyright/license issues of the documentation files in
     doc/latex
 
-* nurbs (extra) [1/1]
+* nurbs (extra) [1/2]
   - [X] Start packaging
+  - [ ] Test of basisfunder fails with (a bug reported has been sent to
+          the octave-dev mailing list):
+          ***** test
+         k    = [0 0 0 0 1/3 2/3 1 1 1 1];
+         p    = 3;
+         u    = rand (100, 1);
+         i    = findspan (numel(k)-p-2, p, u, k);
+         ders = basisfunder (i, p, u, k, 7);
+         for ii=1:10
+           sumders = sum (squeeze(ders(ii,:,:)), 2);
+           assert (sumders(1), 1, 1e-15);
+           assert (sumders(2:end), zeros(rows(squeeze(ders(ii,:,:)))-1, 1), 1e-13);
+         endfor
+         assert (ders(:, (p+2):end, :), zeros(numel(u), 8-p-1, p+1), 1e-13)
+         assert (all(all(ders(:, 1, :) <= 1)), true)
+        !!!!! test failed
+        error: invalid conversion from matrix to real row vector
 
 * ocs (extra) [3/3]
   - [X] debian/control: Add description

-- 
octave-forge-pkgs



More information about the Pkg-octave-commit mailing list