Skip to content

Commit 7988850

Browse files
committed
Update artifacts
1 parent 9a86481 commit 7988850

File tree

6 files changed

+29
-31
lines changed

6 files changed

+29
-31
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[418,690,60.5797,4,4,100,0,6,0,418,690,60.5797,"c8ca7b484af2829ed5d717bfcfc8f80a17898b63","2025-04-24 00:26:05 -0700"]
22
[418,690,60.5797,4,4,100,0,6,0,418,690,60.5797,"70909a23604547f4430a729bf811dcc0ee999055","2025-04-24 00:30:19 -0700"]
33
[428,713,60.0281,4,4,100,0,7,0,428,713,60.0281,"b43db40273306f34ee9cde05d82c7fb9207aeb2b","2025-04-24 00:52:11 -0700"]
4+
[427,712,59.9719,4,4,100,0,7,0,427,712,59.9719,"10cee20847e51f75adc284d72a4908a2dc30c440","2025-04-24 00:57:15 -0700"]

ndarray/base/unary-strided1d-dispatch/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ <h1><a href="../../../../index.html">All files</a> ndarray/base/unary-strided1d-
2323
<div class='clearfix'>
2424

2525
<div class='fl pad1y space-right2'>
26-
<span class="strong">60.02% </span>
26+
<span class="strong">59.97% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>428/713</span>
28+
<span class='fraction'>427/712</span>
2929
</div>
3030

3131

@@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> ndarray/base/unary-strided1d-
4444

4545

4646
<div class='fl pad1y space-right2'>
47-
<span class="strong">60.02% </span>
47+
<span class="strong">59.97% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>428/713</span>
49+
<span class='fraction'>427/712</span>
5050
</div>
5151

5252

@@ -110,17 +110,17 @@ <h1><a href="../../../../index.html">All files</a> ndarray/base/unary-strided1d-
110110

111111
<tr>
112112
<td class="file low" data-value="main.js"><a href="main.js.html">main.js</a></td>
113-
<td data-value="48.68" class="pic low">
113+
<td data-value="48.57" class="pic low">
114114
<div class="chart"><div class="cover-fill" style="width: 48%"></div><div class="cover-empty" style="width: 52%"></div></div>
115115
</td>
116-
<td data-value="48.68" class="pct low">48.68%</td>
117-
<td data-value="456" class="abs low">222/456</td>
116+
<td data-value="48.57" class="pct low">48.57%</td>
117+
<td data-value="455" class="abs low">221/455</td>
118118
<td data-value="100" class="pct high">100%</td>
119119
<td data-value="1" class="abs high">1/1</td>
120120
<td data-value="0" class="pct low">0%</td>
121121
<td data-value="5" class="abs low">0/5</td>
122-
<td data-value="48.68" class="pct low">48.68%</td>
123-
<td data-value="456" class="abs low">222/456</td>
122+
<td data-value="48.57" class="pct low">48.57%</td>
123+
<td data-value="455" class="abs low">221/455</td>
124124
</tr>
125125

126126
<tr>
@@ -146,7 +146,7 @@ <h1><a href="../../../../index.html">All files</a> ndarray/base/unary-strided1d-
146146
<div class='footer quiet pad2 space-top1 center small'>
147147
Code coverage generated by
148148
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
149-
at 2025-04-24T07:53:51.773Z
149+
at 2025-04-24T07:58:43.750Z
150150
</div>
151151
<script src="../../../../prettify.js"></script>
152152
<script>

ndarray/base/unary-strided1d-dispatch/index.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
247247
<div class='footer quiet pad2 space-top1 center small'>
248248
Code coverage generated by
249249
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
250-
at 2025-04-24T07:53:51.773Z
250+
at 2025-04-24T07:58:43.750Z
251251
</div>
252252
<script src="../../../../prettify.js"></script>
253253
<script>

ndarray/base/unary-strided1d-dispatch/index_of_types.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
394394
<div class='footer quiet pad2 space-top1 center small'>
395395
Code coverage generated by
396396
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
397-
at 2025-04-24T07:53:51.773Z
397+
at 2025-04-24T07:58:43.750Z
398398
</div>
399399
<script src="../../../../prettify.js"></script>
400400
<script>

ndarray/base/unary-strided1d-dispatch/main.js.html

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
2323
<div class='clearfix'>
2424

2525
<div class='fl pad1y space-right2'>
26-
<span class="strong">48.68% </span>
26+
<span class="strong">48.57% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>222/456</span>
28+
<span class='fraction'>221/455</span>
2929
</div>
3030

3131

@@ -44,9 +44,9 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
4444

4545

4646
<div class='fl pad1y space-right2'>
47-
<span class="strong">48.68% </span>
47+
<span class="strong">48.57% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>222/456</span>
49+
<span class='fraction'>221/455</span>
5050
</div>
5151

5252

@@ -518,8 +518,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
518518
<a name='L453'></a><a href='#L453'>453</a>
519519
<a name='L454'></a><a href='#L454'>454</a>
520520
<a name='L455'></a><a href='#L455'>455</a>
521-
<a name='L456'></a><a href='#L456'>456</a>
522-
<a name='L457'></a><a href='#L457'>457</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
521+
<a name='L456'></a><a href='#L456'>456</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
523522
<span class="cline-any cline-yes">1x</span>
524523
<span class="cline-any cline-yes">1x</span>
525524
<span class="cline-any cline-yes">1x</span>
@@ -601,7 +600,6 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
601600
<span class="cline-any cline-yes">1x</span>
602601
<span class="cline-any cline-yes">1x</span>
603602
<span class="cline-any cline-yes">1x</span>
604-
<span class="cline-any cline-yes">1x</span>
605603
<span class="cline-any cline-no">&nbsp;</span>
606604
<span class="cline-any cline-no">&nbsp;</span>
607605
<span class="cline-any cline-no">&nbsp;</span>
@@ -1053,18 +1051,17 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
10531051
* Reorders a list of ndarrays such that the output ndarray is the second ndarray argument when passing along to a resolved lower-level strided function.
10541052
*
10551053
* @private
1056-
* @param {NonNegativeInteger} N - number of ndarrays in `arrays` to reorder
1057-
* @param {Array&lt;ndarray&gt;} arrays - list of ndarrays
1054+
* @param {Array&lt;ndarray&gt;} arrays - list of input ndarrays
10581055
* @param {ndarray} output - output ndarray
10591056
* @returns {Array&lt;ndarray&gt;} reordered list
10601057
*/
1061-
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function reorder( N, arrays, output ) {</span></span>
1058+
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >function reorder( arrays, output ) {</span></span>
10621059
<span class="cstat-no" title="statement not covered" > var out;</span>
10631060
<span class="cstat-no" title="statement not covered" > var i;</span>
10641061
<span class="cstat-no" title="statement not covered" > var j;</span>
10651062
<span class="cstat-no" title="statement not covered" ></span>
10661063
<span class="cstat-no" title="statement not covered" > out = [];</span>
1067-
<span class="cstat-no" title="statement not covered" > for ( i = 0, j = 0; i &lt;= N; i++ ) {</span>
1064+
<span class="cstat-no" title="statement not covered" > for ( i = 0, j = 0; i &lt;= arrays.length; i++ ) {</span>
10681065
<span class="cstat-no" title="statement not covered" > if ( i === 1 ) {</span>
10691066
<span class="cstat-no" title="statement not covered" > out.push( output );</span>
10701067
<span class="cstat-no" title="statement not covered" > } else {</span>
@@ -1287,7 +1284,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
12871284
<span class="cstat-no" title="statement not covered" > f = this._table.default;</span>
12881285
<span class="cstat-no" title="statement not covered" > }</span>
12891286
<span class="cstat-no" title="statement not covered" > // Perform operation:</span>
1290-
<span class="cstat-no" title="statement not covered" > unaryStrided1d( f, reorder( args.length, args, y ), opts.dims );</span>
1287+
<span class="cstat-no" title="statement not covered" > unaryStrided1d( f, reorder( args, y ), opts.dims );</span>
12911288
<span class="cstat-no" title="statement not covered" ></span>
12921289
<span class="cstat-no" title="statement not covered" > return y;</span>
12931290
});
@@ -1390,8 +1387,11 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
13901387
<span class="cstat-no" title="statement not covered" > else if ( i &lt; nargs-1 ) {</span>
13911388
<span class="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Argument %d must be an ndarray-like object. Value: `%s`.', i, arguments[ i ] ) );</span>
13921389
<span class="cstat-no" title="statement not covered" > }</span>
1390+
<span class="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray:</span>
1391+
<span class="cstat-no" title="statement not covered" > y = args.pop();</span>
1392+
<span class="cstat-no" title="statement not covered" ></span>
13931393
<span class="cstat-no" title="statement not covered" > // Verify that additional ndarray arguments have expected dtypes (note: we intentionally don't validate the output ndarray dtype in order to provide an escape hatch for a user wanting to have an output ndarray having a specific dtype that `apply` does not support)...</span>
1394-
<span class="cstat-no" title="statement not covered" > for ( i = 1; i &lt; args.length-1; i++ ) {</span>
1394+
<span class="cstat-no" title="statement not covered" > for ( i = 1; i &lt; args.length; i++ ) {</span>
13951395
<span class="cstat-no" title="statement not covered" > dt = getDType( args[ i ] );</span>
13961396
<span class="cstat-no" title="statement not covered" > if ( !contains( this._idtypes[ i ], dt ) ) {</span>
13971397
<span class="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Argument %d must have one of the following data types: "%s". Data type: `%s`.', i, join( this._idtypes[ i ], '", "' ), dt ) );</span>
@@ -1410,9 +1410,6 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
14101410
<span class="cstat-no" title="statement not covered" > if ( opts.dims === null ) {</span>
14111411
<span class="cstat-no" title="statement not covered" > opts.dims = zeroTo( N );</span>
14121412
<span class="cstat-no" title="statement not covered" > }</span>
1413-
<span class="cstat-no" title="statement not covered" > // Cache a reference to the output ndarray:</span>
1414-
<span class="cstat-no" title="statement not covered" > y = args[ args.length-1 ];</span>
1415-
<span class="cstat-no" title="statement not covered" ></span>
14161413
<span class="cstat-no" title="statement not covered" > // Resolve the lower-level strided function satisfying the input and output ndarray data types:</span>
14171414
<span class="cstat-no" title="statement not covered" > dtypes = [ resolveEnum( dt ), resolveEnum( getDType( y ) ) ];</span>
14181415
<span class="cstat-no" title="statement not covered" > idx = indexOfTypes( this._table.fcns.length, 2, this._table.types, 2, 1, 0, dtypes, 1, 0 ); // eslint-disable-line max-len</span>
@@ -1422,7 +1419,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
14221419
<span class="cstat-no" title="statement not covered" > f = this._table.default;</span>
14231420
<span class="cstat-no" title="statement not covered" > }</span>
14241421
<span class="cstat-no" title="statement not covered" > // Perform operation:</span>
1425-
<span class="cstat-no" title="statement not covered" > unaryStrided1d( f, reorder( args.length-1, args, y ), opts.dims ); // note: we assume that this lower-level function handles further validation of the output ndarray (e.g., expected shape, etc)</span>
1422+
<span class="cstat-no" title="statement not covered" > unaryStrided1d( f, reorder( args, y ), opts.dims ); // note: we assume that this lower-level function handles further validation of the output ndarray (e.g., expected shape, etc)</span>
14261423
<span class="cstat-no" title="statement not covered" ></span>
14271424
<span class="cstat-no" title="statement not covered" > return y;</span>
14281425
});
@@ -1438,7 +1435,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
14381435
<div class='footer quiet pad2 space-top1 center small'>
14391436
Code coverage generated by
14401437
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1441-
at 2025-04-24T07:53:51.773Z
1438+
at 2025-04-24T07:58:43.750Z
14421439
</div>
14431440
<script src="../../../../prettify.js"></script>
14441441
<script>

ndarray/base/unary-strided1d-dispatch/validate.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">ndarra
340340
<div class='footer quiet pad2 space-top1 center small'>
341341
Code coverage generated by
342342
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
343-
at 2025-04-24T07:53:51.773Z
343+
at 2025-04-24T07:58:43.750Z
344344
</div>
345345
<script src="../../../../prettify.js"></script>
346346
<script>

0 commit comments

Comments
 (0)