Skip to content

Commit

Permalink
Fix ComplexEntry initialization quirk
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Dec 29, 2023
1 parent 8b7e9c8 commit 9ff4728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tivars/types/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 9ff4728

Please sign in to comment.