Skip to content

Commit

Permalink
Fix a few semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohansson committed Jun 28, 2024
1 parent 0c3743e commit 523cb78
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Control/CCChargeControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

methods

function inputparams = CCChargeControlModelInputParams(jsonstruct);
function inputparams = CCChargeControlModelInputParams(jsonstruct)

jsonstruct = setDefaultJsonStructField(jsonstruct, 'useCVswitch', true);
jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'CCCharge');
Expand Down
2 changes: 1 addition & 1 deletion Control/CCDischargeControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

methods

function inputparams = CCDischargeControlModelInputParams(jsonstruct);
function inputparams = CCDischargeControlModelInputParams(jsonstruct)

jsonstruct = setDefaultJsonStructField(jsonstruct, 'useCVswitch', false);
jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'CCDischarge');
Expand Down
2 changes: 1 addition & 1 deletion Control/CCcontrolModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%
methods

function inputparams = CCcontrolModelInputParams(jsonstruct);
function inputparams = CCcontrolModelInputParams(jsonstruct)

jsonstruct = setDefaultJsonStructField(jsonstruct, 'controlPolicy', 'CC');

Expand Down
2 changes: 1 addition & 1 deletion Control/CcCvControlModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
end

if ~isempty(params.timeStepDuration)
dt = params.timeStepDuration
dt = params.timeStepDuration;
else
n = params.numberOfTimeSteps;
dt = totalTime/n;
Expand Down
2 changes: 1 addition & 1 deletion Control/CcCvControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

methods

function inputparams = CcCvControlModelInputParams(jsonstruct);
function inputparams = CcCvControlModelInputParams(jsonstruct)

inputparams = inputparams@ControlModelInputParams(jsonstruct);
inputparams.controlPolicy = 'CCCV';
Expand Down
2 changes: 1 addition & 1 deletion Control/ControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

methods

function inputparams = ControlModelInputParams(jsonstruct);
function inputparams = ControlModelInputParams(jsonstruct)

inputparams = inputparams@InputParams(jsonstruct);

Expand Down
2 changes: 1 addition & 1 deletion Control/CvControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

methods

function inputparams = CvControlModelInputParams(jsonstruct);
function inputparams = CvControlModelInputParams(jsonstruct)

inputparams = inputparams@ControlModelInputParams(jsonstruct);
inputparams.controlPolicy = 'CV';
Expand Down
2 changes: 1 addition & 1 deletion Control/ImpedanceControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

methods

function inputparams = ImpedanceControlModelInputParams(jsonstruct);
function inputparams = ImpedanceControlModelInputParams(jsonstruct)


jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'Impedance');
Expand Down
2 changes: 1 addition & 1 deletion Control/PowerControlModelInputParams.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

methods

function inputparams = PowerControlModelInputParams(jsonstruct);
function inputparams = PowerControlModelInputParams(jsonstruct)

inputparams = inputparams@ControlModelInputParams(jsonstruct);
inputparams.controlPolicy = 'powerControl';
Expand Down

0 comments on commit 523cb78

Please sign in to comment.