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
thrownewTypeError(format('invalid argument. Options argument must be an object. Value: `%s`.',options));
86
+
thrownewTypeError(format('1db2V',options));
87
87
}
88
88
if(hasOwnProp(options,'dtype')){
89
89
dtype=options.dtype;
@@ -110,14 +110,14 @@ function empty( shape ) {
110
110
}elseif(isArrayLike(shape)){
111
111
sh=shape;
112
112
}else{
113
-
thrownewTypeError(format('invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.',shape));
113
+
thrownewTypeError(format('1db5s',shape));
114
114
}
115
115
ndims=sh.length;
116
116
if(ndims>0){
117
117
len=numel(sh);
118
118
if(len!==len||len<0){
119
119
// We should only get here if we've been provided an invalid shape (e.g., an array containing negative integers, etc)...
120
-
thrownewTypeError(format('invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.',shape));
0 commit comments