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