diff --git a/tivars/types/complex.py b/tivars/types/complex.py index 6bcf663..f68d4ca 100644 --- a/tivars/types/complex.py +++ b/tivars/types/complex.py @@ -223,7 +223,7 @@ def clear(self): super().clear() self.real_subtype_id = 0x0C - self.imag_subtype_id = self.type_id + self.imag_subtype_id = self._type_id if self._type_id is not None else 0x0C def components(self) -> (RealEntry, RealEntry): """