[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash in test_sparse
From: |
Kim Hansen |
Subject: |
Re: crash in test_sparse |
Date: |
Tue, 30 Oct 2007 20:49:59 +0100 |
On 10/30/07, John W. Eaton <address@hidden> wrote:
> On 30-Oct-2007, John W. Eaton wrote:
>
> | In the last few days I started noticing this problem while running
> | make check:
I found a small typo when I looking for the test that was causing this bug:
Index: test/build_sparse_tests.sh
===================================================================
RCS file: /cvs/octave/test/build_sparse_tests.sh,v
retrieving revision 1.9
diff -a -u -r1.9 build_sparse_tests.sh
--- test/build_sparse_tests.sh 23 Oct 2007 23:54:41 -0000 1.9
+++ test/build_sparse_tests.sh 30 Oct 2007 19:46:10 -0000
@@ -908,7 +908,7 @@
%! bcf = bf + bf'; bcs = sparse(bcf);
%! tcf = tf + tf'; tcs = sparse(tcf);
%! xf = diag(1:n) + fliplr(diag(1:n)).*beta; xs = sparse(xf);
-%!assert(ds\xf,df\xf),1e-10;
+%!assert(ds\xf,df\xf,1e-10);
%!assert(ds\xs,sparse(df\xf,1),1e-10);
%!assert(pds\xf,pdf\xf,1e-10);
%!assert(pds\xs,sparse(pdf\xf,1),1e-10);
> I think the following patch fixes the problem. It seems that the
That fixes it for me, thanks.
--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437 -- Mobil: 3091 2437