From 523cb78d57c40fbd83601ed6dc454d2270f0280c Mon Sep 17 00:00:00 2001 From: August Johansson Date: Sat, 29 Jun 2024 00:09:28 +0200 Subject: [PATCH] Fix a few semicolons --- Control/CCChargeControlModelInputParams.m | 2 +- Control/CCDischargeControlModelInputParams.m | 2 +- Control/CCcontrolModelInputParams.m | 2 +- Control/CcCvControlModel.m | 2 +- Control/CcCvControlModelInputParams.m | 2 +- Control/ControlModelInputParams.m | 2 +- Control/CvControlModelInputParams.m | 2 +- Control/ImpedanceControlModelInputParams.m | 2 +- Control/PowerControlModelInputParams.m | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Control/CCChargeControlModelInputParams.m b/Control/CCChargeControlModelInputParams.m index c415904e..10bf6ddf 100644 --- a/Control/CCChargeControlModelInputParams.m +++ b/Control/CCChargeControlModelInputParams.m @@ -16,7 +16,7 @@ methods - function inputparams = CCChargeControlModelInputParams(jsonstruct); + function inputparams = CCChargeControlModelInputParams(jsonstruct) jsonstruct = setDefaultJsonStructField(jsonstruct, 'useCVswitch', true); jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'CCCharge'); diff --git a/Control/CCDischargeControlModelInputParams.m b/Control/CCDischargeControlModelInputParams.m index a33463f3..8a6824d3 100644 --- a/Control/CCDischargeControlModelInputParams.m +++ b/Control/CCDischargeControlModelInputParams.m @@ -15,7 +15,7 @@ methods - function inputparams = CCDischargeControlModelInputParams(jsonstruct); + function inputparams = CCDischargeControlModelInputParams(jsonstruct) jsonstruct = setDefaultJsonStructField(jsonstruct, 'useCVswitch', false); jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'CCDischarge'); diff --git a/Control/CCcontrolModelInputParams.m b/Control/CCcontrolModelInputParams.m index 58cfc13d..074a764e 100644 --- a/Control/CCcontrolModelInputParams.m +++ b/Control/CCcontrolModelInputParams.m @@ -4,7 +4,7 @@ % methods - function inputparams = CCcontrolModelInputParams(jsonstruct); + function inputparams = CCcontrolModelInputParams(jsonstruct) jsonstruct = setDefaultJsonStructField(jsonstruct, 'controlPolicy', 'CC'); diff --git a/Control/CcCvControlModel.m b/Control/CcCvControlModel.m index 78147e45..8e42f4b2 100644 --- a/Control/CcCvControlModel.m +++ b/Control/CcCvControlModel.m @@ -293,7 +293,7 @@ end if ~isempty(params.timeStepDuration) - dt = params.timeStepDuration + dt = params.timeStepDuration; else n = params.numberOfTimeSteps; dt = totalTime/n; diff --git a/Control/CcCvControlModelInputParams.m b/Control/CcCvControlModelInputParams.m index a7f334be..2276bb28 100644 --- a/Control/CcCvControlModelInputParams.m +++ b/Control/CcCvControlModelInputParams.m @@ -36,7 +36,7 @@ methods - function inputparams = CcCvControlModelInputParams(jsonstruct); + function inputparams = CcCvControlModelInputParams(jsonstruct) inputparams = inputparams@ControlModelInputParams(jsonstruct); inputparams.controlPolicy = 'CCCV'; diff --git a/Control/ControlModelInputParams.m b/Control/ControlModelInputParams.m index 56a63dae..ae69ff4c 100644 --- a/Control/ControlModelInputParams.m +++ b/Control/ControlModelInputParams.m @@ -19,7 +19,7 @@ methods - function inputparams = ControlModelInputParams(jsonstruct); + function inputparams = ControlModelInputParams(jsonstruct) inputparams = inputparams@InputParams(jsonstruct); diff --git a/Control/CvControlModelInputParams.m b/Control/CvControlModelInputParams.m index c7f40a58..ec078c71 100644 --- a/Control/CvControlModelInputParams.m +++ b/Control/CvControlModelInputParams.m @@ -14,7 +14,7 @@ methods - function inputparams = CvControlModelInputParams(jsonstruct); + function inputparams = CvControlModelInputParams(jsonstruct) inputparams = inputparams@ControlModelInputParams(jsonstruct); inputparams.controlPolicy = 'CV'; diff --git a/Control/ImpedanceControlModelInputParams.m b/Control/ImpedanceControlModelInputParams.m index 33fee0ec..08572b6c 100644 --- a/Control/ImpedanceControlModelInputParams.m +++ b/Control/ImpedanceControlModelInputParams.m @@ -2,7 +2,7 @@ methods - function inputparams = ImpedanceControlModelInputParams(jsonstruct); + function inputparams = ImpedanceControlModelInputParams(jsonstruct) jsonstruct = setJsonStructField(jsonstruct, 'controlPolicy', 'Impedance'); diff --git a/Control/PowerControlModelInputParams.m b/Control/PowerControlModelInputParams.m index 001c136e..15c5fba8 100644 --- a/Control/PowerControlModelInputParams.m +++ b/Control/PowerControlModelInputParams.m @@ -19,7 +19,7 @@ methods - function inputparams = PowerControlModelInputParams(jsonstruct); + function inputparams = PowerControlModelInputParams(jsonstruct) inputparams = inputparams@ControlModelInputParams(jsonstruct); inputparams.controlPolicy = 'powerControl';