~ubuntu-branches/ubuntu/hardy/suitesparse/hardy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2008-02-21 14:46:50 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20080221144650-rwcyowy7vo3bxjtx
Tags: upstream-3.1.0
ImportĀ upstreamĀ versionĀ 3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    A = A|A' ;
33
33
 
34
34
    S = A ;
35
 
    if (mod (k,2) == 0)
36
 
        S = S + 1i * sprand (A) ;
 
35
    if (~ispc)
 
36
        if (mod (k,2) == 0)
 
37
            S = S + 1i * sprand (A) ;
 
38
        end
37
39
    end
38
40
 
39
41
    tic ;