[Pkg-octave-commit] [SCM] octave-nurbs branch, master, updated. dcbb4a89620310772b4b7a3fee15838092a652ed

Rafael Laboissiere rafael at debian.org
Sat May 23 00:20:27 UTC 2009


The following commit has been merged in the master branch:
commit dcbb4a89620310772b4b7a3fee15838092a652ed
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat May 23 02:20:23 2009 +0200

    Add patch for making the test of numbasisfun work

diff --git a/debian/patches/numbasisfun-succeed-test.diff b/debian/patches/numbasisfun-succeed-test.diff
new file mode 100644
index 0000000..7000aa4
--- /dev/null
+++ b/debian/patches/numbasisfun-succeed-test.diff
@@ -0,0 +1,16 @@
+Transpose the matrix used as reference in an assert test, otherwise the
+test for numbasisfun fails.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 23 May 2009 02:18:36 +0200
+
+--- a/inst/numbasisfun.m
++++ b/inst/numbasisfun.m
+@@ -43,6 +43,6 @@
+ %!  s = findspan (n, p, u, U); 
+ %!  Bref = [0   0   0   0   0   1   1   1   1   1
+ %!          1   1   1   1   1   2   2   2   2   2
+-%!          2   2   2   2   2   3   3   3   3   3];
++%!          2   2   2   2   2   3   3   3   3   3].';
+ %!  B = numbasisfun (s, u, p, U);
+ %!  assert (B, Bref)
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 6f889c5..e0b30ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 autoload-yes.diff
+numbasisfun-succeed-test.diff

-- 
octave-nurbs



More information about the Pkg-octave-commit mailing list