From 5cf61d3e8db74abe162d5ef4cae3b64be037681d Mon Sep 17 00:00:00 2001 From: bendichter Date: Mon, 2 Apr 2018 13:59:17 -0700 Subject: [PATCH] fix data size check --- +file/writeClass.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));