From 9ff4728907477eb0e1b53e323488b2d69be32337 Mon Sep 17 00:00:00 2001 From: KG Date: Fri, 29 Dec 2023 18:15:32 -0500 Subject: [PATCH] Fix `ComplexEntry` initialization quirk --- tivars/types/complex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """