Skip to content

Commit 61102d6

Browse files
committed
test: fix typing error
1 parent 8765779 commit 61102d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysr/sr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _process_constraints(
110110

111111
# Apply arity-specific validation for existing constraints
112112
if isinstance(constraints[op], tuple):
113-
constraint_tuple = cast(tuple[int, ...], constraints[op])
113+
constraint_tuple = constraints[op]
114114
# Validate that constraint tuple length matches operator arity
115115
if len(constraint_tuple) != arity:
116116
raise ValueError(

0 commit comments

Comments
 (0)