~ubuntu-branches/ubuntu/natty/suitesparse/natty

« back to all changes in this revision

Viewing changes to CXSparse_newfiles/MATLAB/Test/test24.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:
30
30
    end
31
31
 
32
32
    S = A ;
33
 
    if (mod (k,2) == 0)
34
 
        S = S + 1i * sprand (A) ;
 
33
 
 
34
    if (~ispc)
 
35
        if (mod (k,2) == 0)
 
36
            S = S + 1i * sprand (A) ;
 
37
        end
35
38
    end
36
39
 
37
40
    tic