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

« back to all changes in this revision

Viewing changes to CSparse/MATLAB/UFget/UFgrep.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:
37
37
for id = 1:nmat
38
38
    name = [index.Group{id} '/' index.Name{id}] ;
39
39
    if (~isempty (regexp (name, expression, 'once')))
40
 
        matched = matched + 1 ;
41
 
        list1 (matched) = id ;
 
40
        matched = matched + 1 ;
 
41
        list1 (matched) = id ;
42
42
    end
43
43
end
44
44
 
46
46
 
47
47
if (nargout == 0)
48
48
    for id = list1
49
 
        fprintf ('%4d: %s/%s\n', id, index.Group {id}, index.Name {id}) ;
 
49
        fprintf ('%4d: %s/%s\n', id, index.Group {id}, index.Name {id}) ;
50
50
    end
51
51
else
52
52
    list = list1 ;