Skip to content

Commit 6a2536b

Browse files
authored
fix: apply suggestions from code review
Signed-off-by: Muhammad Haris <101793258+headlessNode@users.noreply.github.com>
1 parent ea971c1 commit 6a2536b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/ndarray/base/kernels/generic/quaternary/linear/lib

‎lib/node_modules/@stdlib/ndarray/base/kernels/generic/quaternary/linear/lib/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ var quaternarynd = require( './nd.js' );
105105
* // returns [ [ [ [ [ [ [ [ [ [ [ [ [ 7.0, 8.0 ], [ 9.0, 10.0 ], [ 11.0, 12.0 ] ] ] ] ] ] ] ] ] ] ] ] ]
106106
*/
107107
function kernel( ndims ) {
108-
if ( ndims < 0 ) {
108+
if ( ndims <= 0 ) {
109109
return null;
110110
}
111111
return quaternarynd;

0 commit comments

Comments
 (0)