# HG changeset patch # User Rik # Date 1382131529 25200 # Node ID 79d6af38b96fc3a6a7177aec9dd98280f199a0c0 # Parent dd8db3f1c1dab6a5f2eceaf72a4a78a61253ef1e Backout cset 1d41b1910531 now that problem with real/image for sparse fixed. * scripts/testfun/assert.m: Undo special treatment of sparse matrices. diff -r dd8db3f1c1da -r 79d6af38b96f scripts/testfun/assert.m --- a/scripts/testfun/assert.m Fri Oct 18 14:19:18 2013 -0700 +++ b/scripts/testfun/assert.m Fri Oct 18 14:25:29 2013 -0700 @@ -284,13 +284,8 @@ exclude = errseen | ! isfinite (A_null_imag) & ! isfinite (B_null_imag); A_null_imag(exclude) = 0; B_null_imag(exclude) = 0; - if (issparse (A) || issparse (B)) - A_null = sparse (complex (full (A_null_real), full (A_null_imag))); - B_null = sparse (complex (full (B_null_real), full (B_null_imag))); - else - A_null = complex (A_null_real, A_null_imag); - B_null = complex (B_null_real, B_null_imag); - endif + A_null = complex (A_null_real, A_null_imag); + B_null = complex (B_null_real, B_null_imag); if (isscalar (tol)) mtol = tol * ones (size (A)); else