Mercurial > hg > octave-lyh
comparison liboctave/Sparse-op-defs.h @ 5876:565d0cd4d9d0
[project @ 2006-07-01 19:42:06 by dbateman]
author | dbateman |
---|---|
date | Sat, 01 Jul 2006 19:42:07 +0000 |
parents | dfef2f909f34 |
children | 143b556ce725 |
comparison
equal
deleted
inserted
replaced
5875:f6ddc0ee2315 | 5876:565d0cd4d9d0 |
---|---|
1546 return RET_TYPE (); \ | 1546 return RET_TYPE (); \ |
1547 } \ | 1547 } \ |
1548 else \ | 1548 else \ |
1549 { \ | 1549 { \ |
1550 OCTAVE_LOCAL_BUFFER (octave_idx_type, w, nr); \ | 1550 OCTAVE_LOCAL_BUFFER (octave_idx_type, w, nr); \ |
1551 RET_TYPE retval (nr, a_nc, 0); \ | 1551 RET_TYPE retval (nr, a_nc, static_cast<octave_idx_type> (0)); \ |
1552 for (octave_idx_type i = 0; i < nr; i++) \ | 1552 for (octave_idx_type i = 0; i < nr; i++) \ |
1553 w[i] = 0; \ | 1553 w[i] = 0; \ |
1554 retval.xcidx(0) = 0; \ | 1554 retval.xcidx(0) = 0; \ |
1555 \ | 1555 \ |
1556 octave_idx_type nel = 0; \ | 1556 octave_idx_type nel = 0; \ |