Commit aa3c1f70 authored by Simone Liuzzo's avatar Simone Liuzzo

corrected catenation

parent b0db1c90
......@@ -2,7 +2,7 @@ function stpb=qemstopbands(qemres,qemb,qemb0)
% compute stopband from quadrupole gradients.
% added unique. correctors and quadrupoles are the same magnets!
[indbeta,~,ic]=unique([qemres.qpidx; qemres.qcoridx]);
[indbeta,~,ic]=unique([qemres.qpidx, qemres.qcoridx]);
[lind,avb,avm]=atavedata(,0,idx); %#ok<ASGLU>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment