Skip to content

Commit 6130a82

Browse files
committed
Update artifacts
1 parent c481457 commit 6130a82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+22369
-135
lines changed

ndarray/base/find/0d.js.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
300300
* 'order': 'row-major'
301301
* };
302302
*
303-
* // Test elements:
304-
* var out = find0d( x, NaN, predicate );
303+
* // Perform operation:
304+
* var out = find0d( x, NaN, predicate, {} );
305305
* // returns 2.0
306306
*/
307307
function find0d( x, sentinelValue, predicate, thisArg ) {
@@ -322,7 +322,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
322322
<div class='footer quiet pad2 space-top1 center small'>
323323
Code coverage generated by
324324
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
325-
at 2025-07-02T12:05:48.064Z
325+
at 2025-07-23T12:01:23.362Z
326326
</div>
327327
<script src="../../../../prettify.js"></script>
328328
<script>

ndarray/base/find/0d_accessors.js.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
2525
<div class='fl pad1y space-right2'>
2626
<span class="strong">100% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>87/87</span>
28+
<span class='fraction'>88/88</span>
2929
</div>
3030

3131

@@ -46,7 +46,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
4646
<div class='fl pad1y space-right2'>
4747
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>87/87</span>
49+
<span class='fraction'>88/88</span>
5050
</div>
5151

5252

@@ -150,7 +150,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
150150
<a name='L85'></a><a href='#L85'>85</a>
151151
<a name='L86'></a><a href='#L86'>86</a>
152152
<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>
154155
<span class="cline-any cline-yes">5x</span>
155156
<span class="cline-any cline-yes">5x</span>
156157
<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
228229
<span class="cline-any cline-yes">5x</span>
229230
<span class="cline-any cline-yes">2x</span>
230231
<span class="cline-any cline-yes">2x</span>
232+
<span class="cline-any cline-yes">2x</span>
231233
<span class="cline-any cline-yes">1x</span>
232234
<span class="cline-any cline-yes">1x</span>
233235
<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
309311
* 'accessors': accessors( xbuf ).accessors
310312
* };
311313
*
312-
* // Test elements:
313-
* var out = find0d( x, NaN, predicate );
314+
* // Perform operation:
315+
* var out = find0d( x, NaN, predicate, {} );
314316
* // returns 2.0
315317
*/
316318
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;
319322
}
320323
return sentinelValue;
321324
}
@@ -331,7 +334,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
331334
<div class='footer quiet pad2 space-top1 center small'>
332335
Code coverage generated by
333336
<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
335338
</div>
336339
<script src="../../../../prettify.js"></script>
337340
<script>

0 commit comments

Comments
 (0)