changeset 8836:d79edebd8f45

fix sparse diag divide by zero test
author John W. Eaton <jwe@octave.org>
date Sun, 22 Feb 2009 13:31:04 -0500
parents 1685c61542f8
children c37081b9d5c9
files test/ChangeLog test/build_sparse_tests.sh
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/ChangeLog	Sat Feb 21 01:27:23 2009 +0100
+++ b/test/ChangeLog	Sun Feb 22 13:31:04 2009 -0500
@@ -1,3 +1,7 @@
+2009-02-22  John W. Eaton  <jwe@octave.org>
+
+	* build_sparse_tests.sh: Fix diag matrix divide by zero test.
+
 2009-02-18  John W. Eaton  <jwe@octave.org>
 
 	* test_args.m: Don't use assert to test for function handles.
--- a/test/build_sparse_tests.sh	Sat Feb 21 01:27:23 2009 +0100
+++ b/test/build_sparse_tests.sh	Sun Feb 22 13:31:04 2009 -0500
@@ -216,7 +216,7 @@
 %!test
 %! wdbz = warning ("query", "Octave:divide-by-zero");
 %! warning ("off", "Octave:divide-by-zero");
-%! assert(full(sparse(eye(3))/0),full(eye(3))/0);
+%! assert(full(sparse(eye(3))/0),full(eye(3)/0));
 %! warning (wdbz.state, "Octave:divide-by-zero");
 
 EOF