Skip to content

Commit df378b7

Browse files
headlessNodekgryte
andauthored
fix: apply suggestions from code review
Co-authored-by: Athan <[email protected]> Signed-off-by: Muhammad Haris <[email protected]>
1 parent 8a1214a commit df378b7

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/broadcast-array-except-dimensions/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/broadcast-array-except-dimensions/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function broadcastArrayExceptDimensions( arr, shape, dims ) {
124124
for ( i = N-1; i >= 0; i-- ) {
125125
j = M - N + i;
126126
if ( di >= 0 && dims[ di ] === i ) {
127-
if (j >= 0) {
127+
if ( j >= 0 ) {
128128
shape[ i ] = sh[ j ];
129129
strides[ i ] = st[ j ];
130130
}

0 commit comments

Comments
 (0)