diff --git a/+file/writeClass.m b/+file/writeClass.m index 35deb261..877f8a31 100644 --- a/+file/writeClass.m +++ b/+file/writeClass.m @@ -253,7 +253,7 @@ function writeClass(className, classStruct, namespace) fprintf(fid, ' if '); for i=1:length(threshold) if i > 1 - fprintf(fid, ' || '); + fprintf(fid, ' && '); end if threshold(i) > 2 fprintf(fid, 'ndims(val) ~= %d', threshold(i));