Skip to content

Commit

Permalink
type checker
Browse files Browse the repository at this point in the history
  • Loading branch information
philzook58 committed Jan 23, 2025
1 parent 4f4335b commit c0baae0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kdrag/hypothesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ def val_of_sort(


@st.composite
def smt_generic_val(
draw: st.DrawFn, sort: smt.SortRef, maxiter=4
) -> st.SearchStrategy[smt.ExprRef]:
def smt_generic_val(draw: st.DrawFn, sort: smt.SortRef, maxiter=4) -> smt.ExprRef:
"""
A hypothesis search strateegy that uses smt model generation to generate a value of a given SMT sort. It is slower
and will have worse shrinkage. To be used as a fallback.
Expand Down

0 comments on commit c0baae0

Please sign in to comment.