Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/spchol.cc @ 5604:2857357f9d3c
[project @ 2006-01-31 18:22:59 by jwe]
author | jwe |
---|---|
date | Tue, 31 Jan 2006 18:23:00 +0000 |
parents | e107161b8ca3 |
children | 2618a0750ae6 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/spchol.cc Tue Jan 31 11:57:47 2006 +0000 +++ b/src/DLD-FUNCTIONS/spchol.cc Tue Jan 31 18:23:00 2006 +0000 @@ -456,7 +456,7 @@ A->ncol = a.cols(); A->p = a.cidx(); A->i = a.ridx(); - A->nzmax = a.nonzero(); + A->nzmax = a.nnz(); A->xtype = CHOLMOD_REAL; if (a.rows() > 0 && a.cols() > 0) @@ -469,7 +469,7 @@ A->ncol = a.cols(); A->p = a.cidx(); A->i = a.ridx(); - A->nzmax = a.nonzero(); + A->nzmax = a.nnz(); A->xtype = CHOLMOD_COMPLEX; if (a.rows() > 0 && a.cols() > 0)