Skip to content

Commit

Permalink
fix keeptype single integer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jun 10, 2020
1 parent fede817 commit c883546
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion savebj.m
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,9 @@
idx=find(ismember(varargin{1}.IType_,itype(2:end)));
end
type=Imarker(idx);
varargin{1}.inttype_=idx;
if(numel(mat)==1)
varargin{1}.inttype_=idx;
end
elseif(~any(mat<0))
cid=varargin{1}.IType_;
type=Imarker(end);
Expand Down

0 comments on commit c883546

Please sign in to comment.