Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
76f0b3f
1
Parent(s):
db5f4d5
fix: type compat for 3.8
Browse files- pysr/sr.py +2 -2
pysr/sr.py
CHANGED
@@ -1697,8 +1697,8 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
1697 |
optimize=self.weight_optimize,
|
1698 |
)
|
1699 |
|
1700 |
-
jl_binary_operators:
|
1701 |
-
jl_unary_operators:
|
1702 |
for input_list, output_list, name in [
|
1703 |
(binary_operators, jl_binary_operators, "binary"),
|
1704 |
(unary_operators, jl_unary_operators, "unary"),
|
|
|
1697 |
optimize=self.weight_optimize,
|
1698 |
)
|
1699 |
|
1700 |
+
jl_binary_operators: List[Any] = []
|
1701 |
+
jl_unary_operators: List[Any] = []
|
1702 |
for input_list, output_list, name in [
|
1703 |
(binary_operators, jl_binary_operators, "binary"),
|
1704 |
(unary_operators, jl_unary_operators, "unary"),
|