mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
Cython `cdef` classes without an explicit `__init__` constructor have an implicit `__init__` that accepts any number of arguments. (Python classes, by contrast, default to an `__init__` that takes no arguments.) This can lead to confusing situations where arguments appear to be accepted but are discarded. This PR fixes the issue by adding explicit `__init__` methods to the Cython classes. Additionally, this PR removes some unnecessary field initializations in the Cython classes.