Skip to content

Commit 7b7d777

Browse files
committed
Don't use 'final' modifier in function redeclarations
1 parent 0887d08 commit 7b7d777

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

VehicleInterfaces/Atmospheres/ConstantAtmosphere.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ within VehicleInterfaces.Atmospheres;
22
model ConstantAtmosphere "Atmospheres with constant conditions"
33
extends VehicleInterfaces.Icons.Atmosphere;
44
extends VehicleInterfaces.Atmospheres.Interfaces.Base(
5-
redeclare final function windVelocity = constantWindVelocity (windVelocity=v),
6-
redeclare final function density = constantDensity (density=rho),
7-
redeclare final function temperature = constantTemperature (T0=T),
8-
redeclare final function humidity = constantHumidity (h0=h));
5+
redeclare function windVelocity = constantWindVelocity(windVelocity=v),
6+
redeclare function density = constantDensity(density=rho),
7+
redeclare function temperature = constantTemperature(T0=T),
8+
redeclare function humidity = constantHumidity(h0=h));
99

1010
parameter SI.Velocity[3] v=zeros(3) "Wind velocity";
1111
parameter SI.AbsolutePressure ambientPressure=101300

0 commit comments

Comments
 (0)