-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Matlab] Fix spacing in private functions
- Loading branch information
1 parent
0b5c97a
commit 0be9e7e
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
interfaces/matlab/toolbox/@ThermoPhase/private/thermo_set.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |