We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8765779 commit 61102d6Copy full SHA for 61102d6
pysr/sr.py
@@ -110,7 +110,7 @@ def _process_constraints(
110
111
# Apply arity-specific validation for existing constraints
112
if isinstance(constraints[op], tuple):
113
- constraint_tuple = cast(tuple[int, ...], constraints[op])
+ constraint_tuple = constraints[op]
114
# Validate that constraint tuple length matches operator arity
115
if len(constraint_tuple) != arity:
116
raise ValueError(
0 commit comments