[Pkg-octave-commit] r2571 - octave/trunk/debian/patches

Thomas Weber thomas-guest at alioth.debian.org
Sun Jan 4 14:35:25 UTC 2009


Author: thomas-guest
Date: 2009-01-04 14:35:24 +0000 (Sun, 04 Jan 2009)
New Revision: 2571

Modified:
   octave/trunk/debian/patches/polyfit-scaling.dpatch
Log:
Change polyfit-scaling to drop failing test from test/test_poly.m

This test is already removed in the development sources, see
http://thread.gmane.org/gmane.comp.gnu.octave.maintainers/12620
for a discussion about this test.


Modified: octave/trunk/debian/patches/polyfit-scaling.dpatch
===================================================================
--- octave/trunk/debian/patches/polyfit-scaling.dpatch	2009-01-03 13:05:10 UTC (rev 2570)
+++ octave/trunk/debian/patches/polyfit-scaling.dpatch	2009-01-04 14:35:24 UTC (rev 2571)
@@ -7,8 +7,9 @@
 ## DP: improves stability. Fixes Bug#510577.
 
 @DPATCH@
---- octave3.0-3.0.3.orig/scripts/polynomial/polyfit.m
-+++ octave3.0-3.0.3/scripts/polynomial/polyfit.m
+diff -urNad octave3.0-3.0.3~/scripts/polynomial/polyfit.m octave3.0-3.0.3/scripts/polynomial/polyfit.m
+--- octave3.0-3.0.3~/scripts/polynomial/polyfit.m	2008-09-24 09:13:48.000000000 +0200
++++ octave3.0-3.0.3/scripts/polynomial/polyfit.m	2009-01-04 13:21:23.000000000 +0100
 @@ -18,30 +18,17 @@
  ## <http://www.gnu.org/licenses/>.
  
@@ -190,3 +191,16 @@
 +%! assert (p, expected, sqrt(eps))
 +
 +
+diff -urNad octave3.0-3.0.3~/test/test_poly.m octave3.0-3.0.3/test/test_poly.m
+--- octave3.0-3.0.3~/test/test_poly.m	2008-09-24 09:13:50.000000000 +0200
++++ octave3.0-3.0.3/test/test_poly.m	2009-01-04 13:22:01.000000000 +0100
+@@ -109,9 +109,6 @@
+ %! x = [-2, -1, 0, 1, 2];
+ %! assert(all (all (abs (polyfit (x, x.^2+x+1, 3) - [0, 1, 1, 1]) < sqrt (eps))));
+ 
+-%% test/octave.test/poly/polyfit-3.m
+-%!error polyfit ([1, 2; 3, 4], [1, 2; 3, 4], 4);
+-
+ %% test/octave.test/poly/polyfit-4.m
+ %!test
+ %! x = [-2, -1, 0, 1, 2];




More information about the Pkg-octave-commit mailing list