Skip to content

Commit

Permalink
fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Feb 7, 2024
1 parent b9f94cc commit 95f343b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ You can also use other functions inside a qlassf:
def equal_8(n: Qint4) -> bool:
return equal_8 == 8

@qlassf
@qlassfa(defs=[equal_8])
def f(n: Qint4) -> bool:
n = n+1 if equal_8(n) else n
return n
Expand Down

0 comments on commit 95f343b

Please sign in to comment.