Skip to content

Commit

Permalink
fix complexity threshold for vec
Browse files Browse the repository at this point in the history
  • Loading branch information
bdcht committed Mar 11, 2024
1 parent 2158039 commit fc91e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amoco/cas/expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2329,7 +2329,7 @@ def simplify(self, **kargs):
if widening:
return vecw(self)
cl = [complexity(x) for x in self.l]
if sum(cl, 0.0) > conf.Cas.complexity:
if sum(cl, 0.0) > conf.Cas.complexity > 0:
return top(self.size)
return self

Expand Down

0 comments on commit fc91e1d

Please sign in to comment.