Skip to content

Commit cc413a8

Browse files
committed
docs: addd note
1 parent 959a92d commit cc413a8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/node_modules/@stdlib/ndarray/flatten-by/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ var count = ctx.count;
172172
- **indices**: current array element indices.
173173
- **arr**: the input [ndarray][@stdlib/ndarray/ctor].
174174

175+
- The traversal [order][@stdlib/ndarray/orders] of array elements depends on the memory layout of both the input and output ndarrays. As a result, the callback is not guaranteed to receive elements in the view [order][@stdlib/ndarray/orders].
176+
175177
</section>
176178

177179
<!-- /.notes -->

lib/node_modules/@stdlib/ndarray/flatten-by/lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ var format = require( '@stdlib/string/format' );
7676
* // returns [ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0 ]
7777
*/
7878
function flattenBy( x, options, fcn, thisArg ) {
79+
var nargs;
7980
var opts;
8081
var ctx;
8182
var cb;

0 commit comments

Comments
 (0)