Skip to content

Commit fb37386

Browse files
committed
naming
1 parent 6e81a8a commit fb37386

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

atmat/atphysics/Orbit/findorbit.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
%
3131
% See also FINDORBIT4, FINDSYNCORBIT, FINDORBIT6.
3232

33-
[orbs,orbitin]=frequency_control(@do,ring,varargin{:});
33+
[orbs,orbitin]=frequency_control(@xfindorbit,ring,varargin{:});
3434

35-
function [orbs,orb0]=do(ring,varargin)
35+
function [orbs,orb0]=xfindorbit(ring,varargin)
3636
[orb0,varargs]=getoption(varargin,'orbit',[]);
3737
[refpts,varargs]=getargs(varargs,[],'check',@(arg) isnumeric(arg) || islogical(arg));
3838
[dp,varargs]=getoption(varargs,'dp',NaN);

atmat/atphysics/Orbit/findorbit6.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
if ~iscell(ring)
5757
error('First argument must be a cell array');
5858
end
59-
[orb6,orbitin] = frequency_control(@do,ring,varargin{:});
59+
[orb6,orbitin] = frequency_control(@xfindorbit6,ring,varargin{:});
6060

61-
function[orb6,orbitin] = do(ring,varargin)
61+
function[orb6,orbitin] = xfindorbit6(ring,varargin)
6262
[orbitin,varargs]=getoption(varargin,'orbit',[]);
6363
[refpts,varargs]=getargs(varargs,[],'check',@(arg) isnumeric(arg) || islogical(arg));
6464
[~,varargs]=getoption(varargs,'is_6d',[]); %% Consume the is_6d option

0 commit comments

Comments
 (0)