Skip to content

Commit

Permalink
Merge pull request #25 from bendichter/master
Browse files Browse the repository at this point in the history
fix size check for matrix data
  • Loading branch information
nclack authored Apr 3, 2018
2 parents 07e5aba + 9f82053 commit 77b5b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +file/writeClass.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 77b5b84

Please sign in to comment.