comparison liboctave/Sparse-diag-op-defs.h @ 8967:5bbbf482909a

fix omissions adjusting JR's patches
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 12 Mar 2009 11:46:56 +0100
parents 1bba53c0a38d
children 79c4dd83d07f
comparison
equal deleted inserted replaced
8966:1bba53c0a38d 8967:5bbbf482909a
125 125
126 const octave_idx_type a_nr = a.rows (); 126 const octave_idx_type a_nr = a.rows ();
127 const octave_idx_type a_nc = a.cols (); 127 const octave_idx_type a_nc = a.cols ();
128 128
129 const octave_idx_type nz = a.nnz (); 129 const octave_idx_type nz = a.nnz ();
130 const typename SM::element_type zero = typename SM::element_type ();
131 const typename DM::element_type dzero = typename DM::element_type ();
132 RT r (a_nr, a_nc, nz + n); 130 RT r (a_nr, a_nc, nz + n);
133 octave_idx_type k = 0; 131 octave_idx_type k = 0;
134 132
135 for (octave_idx_type j = 0; j < nc; ++j) 133 for (octave_idx_type j = 0; j < nc; ++j)
136 { 134 {