Commit ad10a45c authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

forward compatibility for circshift

parent 98f6d683
......@@ -16,7 +16,7 @@ if isempty(npincels)
ff(ebs.model.pinhole_bm)={'d%.2d'};
npincels(ebs.model.pinhole_id)=1;
npincels(ebs.model.pinhole_bm)=1;
npincels=circshift(npincels,-3);
npincels=circshift(npincels,[0 -3]);
end
if nargin < 2, format='srdiag/emittance/'; end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment