fix too optimistic polyfit test
author |
Jaroslav Hajek <highegg@gmail.com> |
date |
Wed, 03 Jun 2009 07:38:17 +0200 |
parents |
eaf4e71e90e8 |
children |
0dc1d0f1f79c |
files |
scripts/ChangeLog scripts/polynomial/polyfit.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-03 Jaroslav Hajek <highegg@gmail.com>
+
+ * polynomial/polyfit.m: Fix test.
+
2009-06-02 Rafael Laboissiere <rafael@debian.org>
* help/doc.m: In test, look also for the gzipped version of the
--- a/scripts/polynomial/polyfit.m
+++ b/scripts/polynomial/polyfit.m
@@ -140,7 +140,7 @@
%! 315600.7143, 315602.9508, 315605.1765 ];
%! [p1, s1] = polyfit (x, y, 10);
%! [p2, s2, mu] = polyfit (x, y, 10);
-%! assert (2*s2.normr < s1.normr)
+%! assert (s2.normr < s1.normr)
%!test
%! x = 1:4;