Skip to content

Commit

Permalink
Remove extraneous trailing ; from end of function lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Oct 31, 2023
1 parent 66d13e8 commit 6ce3252
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/+mp/dmce_gen_mpc2.m
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
end
end

function tab = gencost2cost_table(obj, gencost);
function tab = gencost2cost_table(obj, gencost)
%

%% define named indices into data matrices
Expand Down
2 changes: 1 addition & 1 deletion lib/+mp/dmce_line3p_mpc2.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
vmap.ql3_to = {'num', 0}; %% zeros
end

function tab = create_line_construction_table(obj, lc);
function tab = create_line_construction_table(obj, lc)
%
id = lc(:, 1);
r = lc(:, 2:7);
Expand Down
4 changes: 2 additions & 2 deletions lib/+mp/math_model_pf_acps.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
obj.add_nln_constraint({'Pmis', 'Qmis'}, [ad.npv+ad.npq;ad.npq], 1, fcn, []);
end

function x = gs_x_update(obj, x, f, nm, dm, mpopt);
function x = gs_x_update(obj, x, f, nm, dm, mpopt)
%

alg = mpopt.pf.alg;
Expand Down Expand Up @@ -87,7 +87,7 @@
x = [angle(v_([pv; pq])); abs(v_(pq))];
end

function x = zg_x_update(obj, x, f, nm, dm, mpopt);
function x = zg_x_update(obj, x, f, nm, dm, mpopt)
%

alg = mpopt.pf.alg;
Expand Down
4 changes: 2 additions & 2 deletions lib/+mp/mme_gen_opf_ac.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
end

%% from makeApq()
function [Ah, uh, Al, ul, data] = pq_capability_constraint(obj, dme, base_mva);
function [Ah, uh, Al, ul, data] = pq_capability_constraint(obj, dme, base_mva)
gen = dme.tab(dme.on, :);

%% data dimensions
Expand Down Expand Up @@ -172,7 +172,7 @@
end

%% from makeAvl()
function [A, l, u] = disp_load_constant_pf_constraint(obj, dm);
function [A, l, u] = disp_load_constant_pf_constraint(obj, dm)
dme = obj.data_model_element(dm);

%% data dimensions
Expand Down
2 changes: 1 addition & 1 deletion lib/+mp/task_cpf_legacy.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
[d, mpopt] = [email protected]_cpf(obj, d, mpopt);
end

function obj = run_post(obj, mm, nm, dm, mpopt);
function obj = run_post(obj, mm, nm, dm, mpopt)
if obj.nm.np ~= 0
obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source);
end
Expand Down
2 changes: 1 addition & 1 deletion lib/+mp/task_opf_legacy.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
[d, mpopt] = [email protected]_opf(obj, d, mpopt);
end

function obj = run_post(obj, mm, nm, dm, mpopt);
function obj = run_post(obj, mm, nm, dm, mpopt)
if obj.nm.np ~= 0
obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source);
end
Expand Down
2 changes: 1 addition & 1 deletion lib/+mp/task_pf_legacy.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
[d, mpopt] = [email protected]_pf(obj, d, mpopt);
end

function obj = run_post(obj, mm, nm, dm, mpopt);
function obj = run_post(obj, mm, nm, dm, mpopt)
if obj.nm.np ~= 0
obj.dm.source = obj.dmc.export(obj.dm, obj.dm.source);
end
Expand Down
2 changes: 1 addition & 1 deletion lib/makeLODF.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function LODF = makeLODF(branch, PTDF, mask_bridge);
function LODF = makeLODF(branch, PTDF, mask_bridge)
%MAKELODF Builds the line outage distribution factor matrix.
% LODF = MAKELODF(BRANCH, PTDF)
% LODF = MAKELODF(MPC, PTDF)
Expand Down
2 changes: 1 addition & 1 deletion lib/opf_branch_ang_fcn.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function [VaDif, dVaDif] = opf_branch_ang_fcn(x, Aang, lang, uang);
function [VaDif, dVaDif] = opf_branch_ang_fcn(x, Aang, lang, uang)
%OPF_BRANCH_ANG_FCN Evaluates branch angle difference constraints and gradients.
% [VADIF, DVADIF] = OPF_BRANCH_ANG_FCN(X, AANG, LANG, UANG);
%
Expand Down

0 comments on commit 6ce3252

Please sign in to comment.