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

Relaxed Shape/Size Equality Checks #1321

Merged
merged 6 commits into from Jul 17, 2023
Merged

Conversation

alexnick83
Copy link
Contributor

This PR introduces a new equality-check method, mainly aimed at dimension/mode length checks. The new method returns True if the two arguments are equal, False if they are unequal, and None if the result cannot be determined. The PR also introduces example usages in matrix-multiplication-related functionality, utilizing the method to print warnings instead of throwing errors when matrix multiplication could be valid depending on the values symbols take.

@alexnick83 alexnick83 marked this pull request as ready for review July 17, 2023 09:51
@alexnick83 alexnick83 requested a review from phschaad July 17, 2023 09:51
Copy link
Collaborator

@phschaad phschaad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@alexnick83 alexnick83 merged commit 0d37a94 into master Jul 17, 2023
9 checks passed
@alexnick83 alexnick83 deleted the relaxed-symbolic-comparisons branch July 17, 2023 11:50
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.

None yet

2 participants