Skip to content

Commit 01ffab4

Browse files
fix: lint errors
1 parent de4f4ae commit 01ffab4

File tree

1 file changed

+3
-1
lines changed
  • lib/node_modules/@stdlib/array/base/unary5d-by/lib

1 file changed

+3
-1
lines changed

lib/node_modules/@stdlib/array/base/unary5d-by/lib/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ function unary5dBy( arrays, shape, fcn, clbk ) {
107107
y0 = y1[ i1 ];
108108
for ( i0 = 0; i0 < S0; i0++ ) {
109109
v = clbk.call( thisArg, x0[ i0 ], [ i4, i3, i2, i1, i0 ], [ x, y ] );
110-
y0[ i0 ] = fcn( v );
110+
if ( v !== void 0 ) {
111+
y0[ i0 ] = fcn( v );
112+
}
111113
}
112114
}
113115
}

0 commit comments

Comments
 (0)