~ubuntu-branches/ubuntu/oneiric/suitesparse/oneiric

« back to all changes in this revision

Viewing changes to CXSparse/MATLAB/CSparse/private/drawbox.m

  • Committer: Bazaar Package Importer
  • Author(s): Nick Ellery
  • Date: 2009-06-14 19:15:52 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090614191552-2hliya5q8n1quseu
Tags: 1:3.4.0-1ubuntu1
* Merge from debian unstable, remaining changes (LP: #387137):
  - debian/control:
    - demote libatlas-doc from recommends to suggests as it is not in main
    - drop recommends on doc-central as it is not in main

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
%   Copyright 2006-2007, Timothy A. Davis.
9
9
%   http://www.cise.ufl.edu/research/sparse
10
10
 
11
 
if (r1 == r2 | c1 == c2)                                                    %#ok
 
11
if (r1 == r2 | c1 == c2)                                                    %#ok
12
12
    return
13
13
end
14
14
 
24
24
    c2 = ceil ((c2 - 1) / e) + .5 ;
25
25
end
26
26
 
27
 
if (c2 > c1 | r2 > r1)                                                      %#ok
 
27
if (c2 > c1 | r2 > r1)                                                      %#ok
28
28
    plot ([c1 c2 c2 c1 c1], [r1 r1 r2 r2 r1], color, 'LineWidth', w) ;
29
29
end