You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently operations with more than a single argument must have identical shapes, including when shapes contain functions. The problem with that is that functions have no canonical form (even though an attempt is made using simplify) so that check is too strict. A solution would be to introduce an AssertEquals operation that evaluates both, asserts equality, and returns the result. Its simplify operation can do what is done currently: simplify the arguments and return one if it matches the other.
The text was updated successfully, but these errors were encountered:
Currently operations with more than a single argument must have identical shapes, including when shapes contain functions. The problem with that is that functions have no canonical form (even though an attempt is made using simplify) so that check is too strict. A solution would be to introduce an AssertEquals operation that evaluates both, asserts equality, and returns the result. Its simplify operation can do what is done currently: simplify the arguments and return one if it matches the other.
The text was updated successfully, but these errors were encountered: