Skip to content

Commit

Permalink
test: fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Nov 24, 2024
1 parent 5a63e88 commit e20d3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@ def get_hof(self, search_output: Optional[Any] = None):
expression_options = self.expression_options or ExpressionOptions()
ret_outputs = [
expression_options.create_exports(self, output, search_output)
for output in self.equation_file_contents_
for output in cast(List[pd.DataFrame], self.equation_file_contents_)
]

if self.nout_ > 1:
Expand Down

0 comments on commit e20d3e1

Please sign in to comment.