@@ -25,7 +25,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
25
25
< div class ='fl pad1y space-right2 '>
26
26
< span class ="strong "> 100% </ span >
27
27
< span class ="quiet "> Statements</ span >
28
- < span class ='fraction '> 87/87 </ span >
28
+ < span class ='fraction '> 88/88 </ span >
29
29
</ div >
30
30
31
31
@@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
46
46
< div class ='fl pad1y space-right2 '>
47
47
< span class ="strong "> 100% </ span >
48
48
< span class ="quiet "> Lines</ span >
49
- < span class ='fraction '> 87/87 </ span >
49
+ < span class ='fraction '> 88/88 </ span >
50
50
</ div >
51
51
52
52
@@ -150,7 +150,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
150
150
< a name ='L85 '> </ a > < a href ='#L85 '> 85</ a >
151
151
< a name ='L86 '> </ a > < a href ='#L86 '> 86</ a >
152
152
< a name ='L87 '> </ a > < a href ='#L87 '> 87</ a >
153
- < a name ='L88 '> </ a > < a href ='#L88 '> 88</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 5x</ span >
153
+ < a name ='L88 '> </ a > < a href ='#L88 '> 88</ a >
154
+ < a name ='L89 '> </ a > < a href ='#L89 '> 89</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 5x</ span >
154
155
< span class ="cline-any cline-yes "> 5x</ span >
155
156
< span class ="cline-any cline-yes "> 5x</ span >
156
157
< span class ="cline-any cline-yes "> 5x</ span >
@@ -228,6 +229,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
228
229
< span class ="cline-any cline-yes "> 5x</ span >
229
230
< span class ="cline-any cline-yes "> 2x</ span >
230
231
< span class ="cline-any cline-yes "> 2x</ span >
232
+ < span class ="cline-any cline-yes "> 2x</ span >
231
233
< span class ="cline-any cline-yes "> 1x</ span >
232
234
< span class ="cline-any cline-yes "> 1x</ span >
233
235
< span class ="cline-any cline-yes "> 1x</ span >
@@ -309,13 +311,14 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
309
311
* 'accessors': accessors( xbuf ).accessors
310
312
* };
311
313
*
312
- * // Test elements :
313
- * var out = find0d( x, NaN, predicate );
314
+ * // Perform operation :
315
+ * var out = find0d( x, NaN, predicate, {} );
314
316
* // returns 2.0
315
317
*/
316
318
function find0d( x, sentinelValue, predicate, thisArg ) {
317
- if ( predicate.call( thisArg, x.accessors[ 0 ]( x.data, x.offset ), [], x.ref ) ) { // eslint-disable-line max-len
318
- return x.accessors[ 0 ]( x.data, x.offset );
319
+ var v = x.accessors[ 0 ]( x.data, x.offset );
320
+ if ( predicate.call( thisArg, v, [], x.ref ) ) {
321
+ return v;
319
322
}
320
323
return sentinelValue;
321
324
}
@@ -331,7 +334,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
331
334
< div class ='footer quiet pad2 space-top1 center small '>
332
335
Code coverage generated by
333
336
< a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
334
- at 2025-07-02T12:05:48.064Z
337
+ at 2025-07-23T12:01:23.362Z
335
338
</ div >
336
339
< script src ="../../../../prettify.js "> </ script >
337
340
< script >
0 commit comments