Skip to content

Commit

Permalink
Tiny bug in value generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirsch committed Jan 16, 2025
1 parent dce3944 commit 7b81422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bitme.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ def get_mapped_array_expression_for(self, index):

def get_values(self, step):
if 0 not in self.cache_values:
if self.sid_line.size <= Instance.PROPAGATE and isinstance(self.sid_line, Bitvector):
if isinstance(self.sid_line, Bitvector) and self.sid_line.size <= Instance.PROPAGATE:
self.cache_values[0] = Values(self.sid_line)
for value in range(2**self.sid_line.size):
self.cache_values[0].set_value(self.sid_line, value,
Expand Down

0 comments on commit 7b81422

Please sign in to comment.