@@ -25,7 +25,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
2525 < div class ='fl pad1y space-right2 '>
2626 < span class ="strong "> 100% </ span >
2727 < span class ="quiet "> Statements</ span >
28- < span class ='fraction '> 194/194 </ span >
28+ < span class ='fraction '> 195/195 </ span >
2929 </ div >
3030
3131
@@ -46,7 +46,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
4646 < div class ='fl pad1y space-right2 '>
4747 < span class ="strong "> 100% </ span >
4848 < span class ="quiet "> Lines</ span >
49- < span class ='fraction '> 194/194 </ span >
49+ < span class ='fraction '> 195/195 </ span >
5050 </ div >
5151
5252
@@ -257,7 +257,8 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
257257< a name ='L192 '> </ a > < a href ='#L192 '> 192</ a >
258258< a name ='L193 '> </ a > < a href ='#L193 '> 193</ a >
259259< a name ='L194 '> </ a > < a href ='#L194 '> 194</ a >
260- < a name ='L195 '> </ a > < a href ='#L195 '> 195</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
260+ < a name ='L195 '> </ a > < a href ='#L195 '> 195</ a >
261+ < a name ='L196 '> </ a > < a href ='#L196 '> 196</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
261262< span class ="cline-any cline-yes "> 1x</ span >
262263< span class ="cline-any cline-yes "> 1x</ span >
263264< span class ="cline-any cline-yes "> 1x</ span >
@@ -446,6 +447,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
446447< span class ="cline-any cline-yes "> 141x</ span >
447448< span class ="cline-any cline-yes "> 141x</ span >
448449< span class ="cline-any cline-yes "> 141x</ span >
450+ < span class ="cline-any cline-yes "> 141x</ span >
449451< span class ="cline-any cline-yes "> 1x</ span >
450452< span class ="cline-any cline-yes "> 1x</ span >
451453< span class ="cline-any cline-yes "> 1x</ span >
@@ -488,8 +490,8 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
488490var strides2order = require( '@stdlib/ndarray/base/strides2order' );
489491var flattenShape = require( '@stdlib/ndarray/base/flatten-shape' );
490492var map = require( '@stdlib/ndarray/base/map' );
493+ var ndarray = require( '@stdlib/ndarray/base/ctor' );
491494var emptyLike = require( '@stdlib/ndarray/empty-like' );
492- var ndarray = require( '@stdlib/ndarray/ctor' );
493495var format = require( '@stdlib/string/format' );
494496
495497
@@ -632,12 +634,13 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
632634 'dtype': opts.dtype
633635 });
634636
635- // Create a view on top of output ndarray having the same shape as the input ndarray:
637+ // Create a view on top of the output ndarray having the same shape as the input ndarray:
636638 st = ( xsh.length > 0 ) ? shape2strides( xsh, opts.order ) : [ 0 ];
637- view = ndarray( opts.dtype, getData( y ), xsh, st, 0, opts.order );
639+ view = new ndarray( opts.dtype, getData( y ), xsh, st, 0, opts.order );
638640
639641 // Transform and assign elements to the output ndarray:
640642 map( [ x, view ], cb, ctx );
643+
641644 return y;
642645}
643646
@@ -652,7 +655,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/f
652655 < div class ='footer quiet pad2 space-top1 center small '>
653656 Code coverage generated by
654657 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
655- at 2025-09-19T02:30:34.698Z
658+ at 2025-10-03T10:17:17.052Z
656659 </ div >
657660 < script src ="../../../prettify.js "> </ script >
658661 < script >
0 commit comments