Skip to content

Commit

Permalink
fix: type compat for 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed May 5, 2024
1 parent db5f4d5 commit 76f0b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysr/sr.py
Expand Up @@ -1697,8 +1697,8 @@ def _run(
optimize=self.weight_optimize,
)

jl_binary_operators: list[Any] = []
jl_unary_operators: list[Any] = []
jl_binary_operators: List[Any] = []
jl_unary_operators: List[Any] = []
for input_list, output_list, name in [
(binary_operators, jl_binary_operators, "binary"),
(unary_operators, jl_unary_operators, "unary"),
Expand Down

0 comments on commit 76f0b3f

Please sign in to comment.