[Matlab] Fix spacing in private functions

This commit is contained in:
Bryan W. Weber 2015-10-23 17:08:54 -04:00
parent 0b5c97ad4f
commit 0be9e7eef7
3 changed files with 11 additions and 11 deletions

View file

@ -1,8 +1,8 @@
function i = phase_get(n, job, a, b)
if nargin == 2
i = ctmethods(30,n,job);
i = ctmethods(30, n, job);
elseif nargin == 3
i = ctmethods(30,n,job,a);
i = ctmethods(30, n, job, a);
else
i = ctmethods(30, n, job, a, b);
end

View file

@ -1,8 +1,8 @@
function phase_set(n, job, a, b)
if nargin == 2
ctmethods(30,n,-job);
ctmethods(30, n, -job);
elseif nargin == 3
ctmethods(30,n,-job,a);
ctmethods(30, n, -job, a);
else
ctmethods(30, n,-job, a, b);
end

View file

@ -1,16 +1,16 @@
function i = thermo_set(n, job, a, b, c, d, e, f)
if nargin == 2
i = ctmethods(20,n,-job);
i = ctmethods(20, n, -job);
elseif nargin == 3
i = ctmethods(20,n,-job,a);
i = ctmethods(20, n, -job,a);
elseif nargin == 4
i = ctmethods(20, n,-job, a, b);
i = ctmethods(20, n, -job, a, b);
elseif nargin == 5
i = ctmethods(20, n,-job, a, b, c);
i = ctmethods(20, n, -job, a, b, c);
elseif nargin == 6
i = ctmethods(20, n,-job, a, b, c, d);
i = ctmethods(20, n, -job, a, b, c, d);
elseif nargin == 7
i = ctmethods(20, n,-job, a, b, c, d, e);
i = ctmethods(20, n, -job, a, b, c, d, e);
elseif nargin == 8
i = ctmethods(20, n,-job, a, b, c, d, e, f);
i = ctmethods(20, n, -job, a, b, c, d, e, f);
end