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

« back to all changes in this revision

Viewing changes to CHOLMOD/MATLAB/cholmod2.c

  • 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:
176
176
        cm->method [0].ordering = CHOLMOD_NATURAL ;
177
177
        cm->postorder = TRUE ;
178
178
    }
 
179
    else if (ordering == -7)
 
180
    {
 
181
        /* always try both AMD and METIS, and pick the best */
 
182
        cm->nmethods = 2 ;
 
183
        cm->method [0].ordering = CHOLMOD_AMD ;
 
184
        cm->method [1].ordering = CHOLMOD_METIS ;
 
185
        cm->postorder = TRUE ;
 
186
    }
179
187
    else if (ordering >= 1)
180
188
    {
181
189
        /* assume the 3rd argument is a user-provided permutation of 1:n */