octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

R: Octave 3.3.53 snapshot available for ftp


From: Marco Atzeri
Subject: R: Octave 3.3.53 snapshot available for ftp
Date: Thu, 21 Oct 2010 08:21:24 +0100 (BST)

--- Mar 19/10/10, John W. Eaton  ha scritto:

> A new snapshot of Octave is now
> available from ftp.octave.org in the
> directory /pub/octave/bleeding-edge:
> 

> 
> jwe
> 

$ hg tip
changeset:   11119:d3eaaa7c6762
tag:         tip
user:        John W. Eaton <address@hidden>
date:        Tue Oct 19 04:31:30 2010 -0400
summary:     version is now 3.3.53+


Building on cywin-1.7.8 snapshots, I notice a huge number 
of failures about sparse matrix.
As on 1.7.8 I added a lot of C99 math functions,
eventually the problem is on the cygwin side.

>>>>> processing /pub/hg/octave/src/DLD-FUNCTIONS/dmperm.cc
  ***** testif HAVE_CXSPARSE
 n=20;
 a=speye(n,n);a=a(randperm(n),:);
 assert(a(dmperm(a),:),speye(n))
!!!!! test failed
subscript indices must be either positive integers or logicals.
  ***** testif HAVE_CXSPARSE
 n=20;
 d=0.2;
 a=tril(sprandn(n,n,d),-1)+speye(n,n);
 a=a(randperm(n),randperm(n));
 [p,q,r,s]=dmperm(a);
 assert(tril(a(p,q),-1),sparse(n,n))
!!!!! test failed

....

liboctave/Sparse.cc ....................................fatal: subscript 
indices must be either positive integers or logicals.


There is eventually a problem on assert ?

> a(dmperm(a),:)
ans =

Compressed Column Sparse (rows = 20, cols = 20, nnz = 20 [5%])

  (1, 1) ->  1
  (2, 2) ->  1
  (3, 3) ->  1
  (4, 4) ->  1
  (5, 5) ->  1
  (6, 6) ->  1
  (7, 7) ->  1
  (8, 8) ->  1
  (9, 9) ->  1
  (10, 10) ->  1
  (11, 11) ->  1
  (12, 12) ->  1
  (13, 13) ->  1
  (14, 14) ->  1
  (15, 15) ->  1
  (16, 16) ->  1
  (17, 17) ->  1
  (18, 18) ->  1
  (19, 19) ->  1
  (20, 20) ->  1

> speye(n)
ans =

Compressed Column Sparse (rows = 20, cols = 20, nnz = 20 [5%])

  (1, 1) ->  1
  (2, 2) ->  1
  (3, 3) ->  1
  (4, 4) ->  1
  (5, 5) ->  1
  (6, 6) ->  1
  (7, 7) ->  1
  (8, 8) ->  1
  (9, 9) ->  1
  (10, 10) ->  1
  (11, 11) ->  1
  (12, 12) ->  1
  (13, 13) ->  1
  (14, 14) ->  1
  (15, 15) ->  1
  (16, 16) ->  1
  (17, 17) ->  1
  (18, 18) ->  1
  (19, 19) ->  1
  (20, 20) ->  1

the two seems equal, but

> assert(a(dmperm(a),:),speye(n))
error: assert: subscript indices must be either positive integers or logicals.
error: called from:
error:   /pub/hg/octave_build/../octave/scripts/testfun/assert.m at line 179, 
column 1


Marco


      



reply via email to

[Prev in Thread] Current Thread [Next in Thread]