Skip to content

Commit

Permalink
[Matlab] Fix spacing in private functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Oct 24, 2015
1 parent 0b5c97a commit 0be9e7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions interfaces/matlab/toolbox/@ThermoPhase/private/phase_get.m
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions interfaces/matlab/toolbox/@ThermoPhase/private/phase_set.m
Original file line number Diff line number Diff line change
@@ -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
14 changes: 7 additions & 7 deletions interfaces/matlab/toolbox/@ThermoPhase/private/thermo_set.m
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0be9e7e

Please sign in to comment.