Skip to content

Commit

Permalink
Update lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js
Browse files Browse the repository at this point in the history
Co-authored-by: Vinit Pandit <[email protected]>
Signed-off-by: pranav-1720 <[email protected]>
  • Loading branch information
pranav-1720 and Vinit-Pandit authored Nov 29, 2024
1 parent d00cd2d commit 94f3a0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ function factory( dtype ) { // eslint-disable-line max-lines-per-function, stdli
}

buf = this._buffer;
for (i = 0; i < this._length; i++) {
if ( predicate.call(thisArg, buf[GETTER](i * BYTES_PER_ELEMENT, this._isLE), i, this ) ) {
for ( i = 0; i < this._length; i++ ) {
if ( predicate.call(thisArg, buf[ GETTER ]( i * BYTES_PER_ELEMENT, this._isLE ), i, this ) ) {
return i;
}
}
Expand Down

0 comments on commit 94f3a0d

Please sign in to comment.