@@ -23,9 +23,9 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
2323 < div class ='clearfix '>
2424
2525 < div class ='fl pad1y space-right2 '>
26- < span class ="strong "> 67.05 % </ span >
26+ < span class ="strong "> 67.14 % </ span >
2727 < span class ="quiet "> Statements</ span >
28- < span class ='fraction '> 232/346 </ span >
28+ < span class ='fraction '> 233/347 </ span >
2929 </ div >
3030
3131
@@ -44,9 +44,9 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
4444
4545
4646 < div class ='fl pad1y space-right2 '>
47- < span class ="strong "> 67.05 % </ span >
47+ < span class ="strong "> 67.14 % </ span >
4848 < span class ="quiet "> Lines</ span >
49- < span class ='fraction '> 232/346 </ span >
49+ < span class ='fraction '> 233/347 </ span >
5050 </ div >
5151
5252
@@ -409,7 +409,9 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
409409< a name ='L344 '> </ a > < a href ='#L344 '> 344</ a >
410410< a name ='L345 '> </ a > < a href ='#L345 '> 345</ a >
411411< a name ='L346 '> </ a > < a href ='#L346 '> 346</ a >
412- < a name ='L347 '> </ a > < a href ='#L347 '> 347</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
412+ < a name ='L347 '> </ a > < a href ='#L347 '> 347</ a >
413+ < a name ='L348 '> </ a > < a href ='#L348 '> 348</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
414+ < span class ="cline-any cline-yes "> 1x</ span >
413415< span class ="cline-any cline-yes "> 1x</ span >
414416< span class ="cline-any cline-yes "> 1x</ span >
415417< span class ="cline-any cline-yes "> 1x</ span >
@@ -788,6 +790,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
788790var strides2order = require( '@stdlib/ndarray/base/strides2order' );
789791var numel = require( '@stdlib/ndarray/base/numel' );
790792var ndarray = require( '@stdlib/ndarray/ctor' );
793+ var isColumnMajor = require( '@stdlib/ndarray/base/assert/is-column-major-string' );
791794var isDataType = require( '@stdlib/ndarray/base/assert/is-data-type' );
792795var isOrder = require( '@stdlib/ndarray/base/assert/is-order' );
793796var isCastingMode = require( '@stdlib/ndarray/base/assert/is-casting-mode' );
@@ -1078,7 +1081,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
10781081< span class ="cstat-no " title ="statement not covered " > }</ span >
10791082 } else if ( buffer ) {
10801083 if ( btype === 'generic' && opts.flatten && isArray( buffer ) ) {
1081- buffer = flatten( buffer, osh || arrayShape( buffer ), order === 'column-major' );
1084+ buffer = flatten( buffer, osh || arrayShape( buffer ), isColumnMajor( order ) );
10821085 }
10831086 if ( buffer.length !== len ) {
10841087 throw new RangeError( 'invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.' );
@@ -1108,7 +1111,7 @@ <h1><a href="../../../index.html">All files</a> / <a href="index.html">ndarray/a
11081111 < div class ='footer quiet pad2 space-top1 center small '>
11091112 Code coverage generated by
11101113 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
1111- at 2025-05-08T01:44 :58.487Z
1114+ at 2025-05-08T08:48 :58.434Z
11121115 </ div >
11131116 < script src ="../../../prettify.js "> </ script >
11141117 < script >
0 commit comments