Skip to content

Commit

Permalink
remove the unneeded condition when converting ppath in loadmch.m, fix…
Browse files Browse the repository at this point in the history
… mcx bug #82
  • Loading branch information
fangq committed Nov 5, 2019
1 parent 4d7d94f commit 3c3ab43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/loadmch.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

dat=fread(fid,hd(7)*hd(4),format);
dat=reshape(dat,[hd(4),hd(7)])';
if(savedetflag && length(detflag)>2 && detflag(3)>0)
if(savedetflag && length(detflag)>2)
dat(:,sum(datlen(1:2))+1:sum(datlen(1:3)))=dat(:,sum(datlen(1:2))+1:sum(datlen(1:3)))*unitmm;
else
dat(:,2+hd(2):(1+2*hd(2)))=dat(:,2+hd(2):(1+2*hd(2)))*unitmm;
Expand Down

0 comments on commit 3c3ab43

Please sign in to comment.