Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BeamDynamics
matutil
Commits
ad10a45c
Commit
ad10a45c
authored
Aug 26, 2018
by
Simone Liuzzo
Browse files
forward compatibility for circshift
parent
98f6d683
Changes
1
Hide whitespace changes
Inline
Side-by-side
+ebs/pinholename.m
View file @
ad10a45c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment