Mercurial > hg > octave-nkf
comparison liboctave/sparse-base-chol.cc @ 5648:69a4f320d95a
[project @ 2006-03-08 20:17:37 by dbateman]
author | dbateman |
---|---|
date | Wed, 08 Mar 2006 20:17:38 +0000 |
parents | 2857357f9d3c |
children | 8bf74c0b2cbf |
comparison
equal
deleted
inserted
replaced
5647:9e3a2d1e5e72 | 5648:69a4f320d95a |
---|---|
79 template <class chol_type, class chol_elt, class p_type> | 79 template <class chol_type, class chol_elt, class p_type> |
80 octave_idx_type | 80 octave_idx_type |
81 sparse_base_chol<chol_type, chol_elt, p_type>::sparse_base_chol_rep::init | 81 sparse_base_chol<chol_type, chol_elt, p_type>::sparse_base_chol_rep::init |
82 (const chol_type& a, bool natural) | 82 (const chol_type& a, bool natural) |
83 { | 83 { |
84 octave_idx_type info = 0; | 84 volatile octave_idx_type info = 0; |
85 #ifdef HAVE_CHOLMOD | 85 #ifdef HAVE_CHOLMOD |
86 octave_idx_type a_nr = a.rows (); | 86 octave_idx_type a_nr = a.rows (); |
87 octave_idx_type a_nc = a.cols (); | 87 octave_idx_type a_nc = a.cols (); |
88 | 88 |
89 if (a_nr != a_nc) | 89 if (a_nr != a_nc) |