You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/numel/lib/main.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ function numel( x ) {
47
47
vard;
48
48
vari;
49
49
50
-
// Note: we intentionally avoid rigorous ndarray checks to minimize performance impacts. This obviously means that non-ndarray-like objects (e.g., vanilla arrays) can sneak through, but that this probably all right for the purposes of this function...
50
+
// Note: we intentionally avoid rigorous ndarray checks to minimize performance impacts. This obviously means that non-ndarray-like objects (e.g., vanilla arrays) can sneak through, but this is likely all right for the purposes of this function...
51
51
if(typeofx!=='object'||x===null){
52
52
thrownewTypeError(format('invalid argument. Must provide an ndarray. Value: `%s`.',x));
0 commit comments