~ubuntu-branches/ubuntu/raring/suitesparse/raring-proposed

« back to all changes in this revision

Viewing changes to CXSparse/MATLAB/Test/test13.m

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    A = A+A' ;
23
23
    fprintf ('m %4d n %4d nnz(A) %6d nnz(C) %6d\n', m, n, nnz(A), nnz(C)) ;
24
24
 
25
 
    if (rand ( ) > .5)
26
 
        A = A + 1i * sprand (A) ;
 
25
    if (~ispc)
 
26
        if (rand ( ) > .5)
 
27
            A = A + 1i * sprand (A) ;
 
28
        end
27
29
    end
28
30
 
29
31
    [p1,po1] = etree (A) ;