Very very small change :-)
parent
0769af6f20
commit
0311d2a2a2
|
|
@ -186,7 +186,8 @@ boost::shared_ptr<Ordering> colamd(int n_col, int n_row, int nrNonZeros, const m
|
|||
// Convert elimination ordering in p to an ordering
|
||||
boost::shared_ptr<Ordering> result(new Ordering);
|
||||
for(int j = 0; j < n_col; j++)
|
||||
result->push_back(initialOrder[j]);
|
||||
result->push_back(initialOrder[p[j]]);
|
||||
//result->push_back(initialOrder[j]);
|
||||
delete [] p; // delete colamd result vector
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue