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

Moves scalar comparison to use the same method as tensor comparison. Deprecates try_scalar_*/scalar_*. #738

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

coreylowman
Copy link
Owner

Now instead of calling a.scalar_eq(1.0) you can call a.eq(1.0).

@coreylowman coreylowman changed the title Deprecates try_scalar_*. Moves scalar comparison to use the same method as tensor comparison Moves scalar comparison to use the same method as tensor comparison. Deprecates try_scalar_*/scalar_*. Apr 26, 2023
@coreylowman coreylowman merged commit 0370648 into main Apr 26, 2023
@coreylowman coreylowman deleted the better-cmp branch April 26, 2023 15:01
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.

1 participant