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

Rafael Laboissiere rafael at debian.org
Sat May 23 09:40:50 UTC 2009


The following commit has been merged in the master branch:
commit 813bc38cbb220c8a6804695f78efa40376868828
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat May 23 11:40:44 2009 +0200

    Patch for making the test of basisfunder succeed

diff --git a/debian/patches/basisfunder-succeed-test.diff b/debian/patches/basisfunder-succeed-test.diff
new file mode 100644
index 0000000..0329c57
--- /dev/null
+++ b/debian/patches/basisfunder-succeed-test.diff
@@ -0,0 +1,22 @@
+Patch for making the test of basisfunder succeed
+
+The test of basisfunder was failing due a wrong conversion between matrix and vector.
+This patch was taken from the upstream SVN repository at:
+http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/nurbs/src/low_level_functions.cc?r1=5806&r2=5861&diff_format=u
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 23 May 2009 11:33:35 +0200
+
+--- a/src/low_level_functions.cc
++++ b/src/low_level_functions.cc
+@@ -57,9 +57,9 @@
+ {
+   octave_value_list retval;
+ 
+-  const RowVector i = args(0).row_vector_value ();
++  const NDArray i = args(0).array_value ();
+   int pl = args(1).int_value ();
+-  const RowVector u = args(2).row_vector_value ();
++  const NDArray u = args(2).array_value ();
+   const RowVector U = args(3).row_vector_value ();
+   int nd = args(4).int_value ();
+ 
diff --git a/debian/patches/series b/debian/patches/series
index e0b30ba..41a5953 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 autoload-yes.diff
 numbasisfun-succeed-test.diff
+basisfunder-succeed-test.diff

-- 
octave-nurbs



More information about the Pkg-octave-commit mailing list