leonardt / pycoreir

Python bindings for coreir
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Fix simulator bit vector regression #124

Closed leonardt closed 4 years ago

leonardt commented 4 years ago

Regression introduced by https://github.com/leonardt/pycoreir/pull/122/files, basically, we relied on the is check to avoid BitVectors passing the equality check, but we can use this isinstance guard instead to avoid the syntax warning.