On 13 Nov 2011, at 22:20, Alexander Barth wrote:

> Dear Michele,
> 
> I would like to try the suggestion of Filippone, but I sumbled upon a
> a segmentation fault for the following matrix multiplication:
> 
> load test.mat % http://modb.oce.ulg.ac.be/mediawiki/upload/Alex/test.matbut
> [i,j,s]=find(A);
> A2 = sparsersb(i,j,s);
> [i,j,s]=find(extx);
> extx2 = sparsersb(i,j,s);
> extx2*A2;
> 
> panic: Segmentation fault -- stopping myself...
> attempting to save variables to `octave-core'...
> save to `octave-core' complete
> Segmentation fault
> 
> Any help would be appreciated,
> Cheers,
> Alex

Alex, 
FYI, your example is working fine for me:

>> load test.mat
>> A2 = sparsersb (A);
>> extx2 = sparsersb (extx);
>> x2 = A2 * extx2;
>> [ia, ja, va] = find (A);
>> [ie, je, ve] = find (extx);
>> A3 = sparsersb (ia, ja, va);
>> extx3 = sparsersb (ie, je, ve);
>> x3 = A3 * extx3;

What version of Octave are you using? how did you install sparsersb?
c.



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to