Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 14, 2023
1 parent e1eb77b commit fd3b130
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion array/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function array() {
}
} else if ( buffer ) {
if ( btype === 'generic' && opts.flatten ) {
buffer = flatten( buffer, osh || arrayShape( buffer ), false );
buffer = flatten( buffer, osh || arrayShape( buffer ), order === 'column-major' );
}
if ( buffer.length !== len ) {
throw new RangeError( 'invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.' );
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit fd3b130

Please sign in to comment.