Proper typing in HVACMechanical and HEPAFilter classes
This commit is contained in:
parent
dc6ea75058
commit
ac8e912579
1 changed files with 2 additions and 2 deletions
|
|
@ -364,7 +364,7 @@ class HEPAFilter(Ventilation):
|
|||
|
||||
#: The rate at which the HEPA exchanges air (when switched on)
|
||||
# in m^3/h
|
||||
q_air_mech: float
|
||||
q_air_mech: _VectorisedFloat
|
||||
|
||||
def air_exchange(self, room: Room, time: float) -> _VectorisedFloat:
|
||||
# If the HEPA is off, no air is being exchanged.
|
||||
|
|
@ -381,7 +381,7 @@ class HVACMechanical(Ventilation):
|
|||
|
||||
#: The rate at which the HVAC exchanges air (when switched on)
|
||||
# in m^3/h
|
||||
q_air_mech: float
|
||||
q_air_mech: _VectorisedFloat
|
||||
|
||||
def air_exchange(self, room: Room, time: float) -> _VectorisedFloat:
|
||||
# If the HVAC is off, no air is being exchanged.
|
||||
|
|
|
|||
Loading…
Reference in a new issue