Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary conversion of info to NumPy (#791) #796

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

hesic73
Copy link
Contributor

@hesic73 hesic73 commented Jan 8, 2025

The conversion of info to NumPy in self._last_info is unnecessary as self._last_info is never used. This line could also raise exceptions for certain info dictionaries. Fixes #791.

The conversion of `info` to NumPy in `self._last_info` is unnecessary as `self._last_info` is never used. This line could also raise exceptions for certain `info` dictionaries. Fixes haosulab#791.
@StoneT2000
Copy link
Member

Thanks!

@StoneT2000 StoneT2000 merged commit 3e948a5 into haosulab:main Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary Conversion of info to NumPy
2 participants