changeset 3094:f8e971946a4f

[project @ 1997-10-18 17:43:14 by jwe]
author jwe
date Sat, 18 Oct 1997 17:43:14 +0000
parents 83ab3f9ff43d
children 528f4270e904
files test/octave.test/poly/poly-2.m test/octave.test/poly/polyfit-1.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/octave.test/poly/poly-2.m
+++ b/test/octave.test/poly/poly-2.m
@@ -1,1 +1,1 @@
-all (all (poly ([1, 2; 3, 4]) - [1, -5, -2] < 2 * eps))
+all (all (abs (poly ([1, 2; 3, 4]) - [1, -5, -2]) < sqrt (eps)))
--- a/test/octave.test/poly/polyfit-1.m
+++ b/test/octave.test/poly/polyfit-1.m
@@ -1,2 +1,2 @@
 x = [-2, -1, 0, 1, 2];
-all (all (polyfit (x, x.^2+x+1, 2) - [1; 1; 1] < 4*eps))
+all (all (abs (polyfit (x, x.^2+x+1, 2) - [1; 1; 1]) < sqrt (eps)))