Skip to content

Commit 01f6578

Browse files
committed
added eslint rule
1 parent 45f1997 commit 01f6578

File tree

1 file changed

+5
-1
lines changed
  • lib/node_modules/@stdlib/array/base/mskbinary5d/lib

1 file changed

+5
-1
lines changed

lib/node_modules/@stdlib/array/base/mskbinary5d/lib/main.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19+
/* eslint-disable max-depth */
20+
1921
'use strict';
2022

2123
// MAIN //
@@ -115,7 +117,9 @@ function mskbinary5d( arrays, shape, fcn ) {
115117
z0 = z1[ i1 ];
116118
m0 = m1[ i1 ];
117119
for ( i0 = 0; i0 < S0; i0++ ) {
118-
z0[ i0 ] = ( m0[ i0 ] === 0 ) ? fcn( x0[ i0 ], y0[ i0 ] ) : 0 ;
120+
if ( m0[ i0 ] === 0 ) {
121+
z[ i0 ] = fcn( x0[ i0 ], y0[ i0 ] );
122+
}
119123
}
120124
}
121125
}

0 commit comments

Comments
 (0)