Skip to content

Commit

Permalink
Adjust test script example detail to be more general and to match pub…
Browse files Browse the repository at this point in the history
…lication.
  • Loading branch information
lapets committed May 29, 2022
1 parent 141a544 commit 700bdd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_circuitry.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def equals_iterative(xs: bits(8), ys: bits(8)) -> bit:
[[0]]
"""
z = 1
for i in range(8):
for i in range(min(len(xs), len(ys))):
z = z & equal(xs[i], ys[i])
return z

Expand Down

0 comments on commit 700bdd2

Please sign in to comment.