Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/spfind.cc @ 6013:13c4326d3501
[project @ 2006-09-29 20:50:34 by jwe]
author | jwe |
---|---|
date | Fri, 29 Sep 2006 20:50:35 +0000 |
parents | d3112590883f |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
6012:7c048a800ebe | 6013:13c4326d3501 |
---|---|
128 OCTAVE_QUIT; | 128 OCTAVE_QUIT; |
129 if (direction < 0 && i < nz - count) | 129 if (direction < 0 && i < nz - count) |
130 continue; | 130 continue; |
131 i_idx (cx) = static_cast<double> (v.ridx(i) + 1); | 131 i_idx (cx) = static_cast<double> (v.ridx(i) + 1); |
132 j_idx (cx) = static_cast<double> (j + 1); | 132 j_idx (cx) = static_cast<double> (j + 1); |
133 idx (cx) = j * nc + v.ridx(i) + 1; | 133 idx (cx) = j * nr + v.ridx(i) + 1; |
134 val (cx) = v.data(i); | 134 val (cx) = v.data(i); |
135 cx++; | 135 cx++; |
136 if (cx == count) | 136 if (cx == count) |
137 break; | 137 break; |
138 } | 138 } |