Skip to content

Commit

Permalink
PR #43819: Fix operator check
Browse files Browse the repository at this point in the history
Imported from GitHub PR #43819

Fixes #43817
Copybara import of the project:

--
bd1f1ac by bhack <bhack@users.noreply.github.com>:

Fix operator check

PiperOrigin-RevId: 335934604
Change-Id: I6cfc4d218d5cd8dfb00ce6c72dbecb8afa91ede9
  • Loading branch information
brianwa84 authored and tensorflower-gardener committed Oct 7, 2020
1 parent 756c1f7 commit 1fd4a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/python/ops/linalg/registrations_util.py
Expand Up @@ -56,7 +56,7 @@ def is_square(operator_a, operator_b):
return m == l

if (operator_a.is_square != operator_b.is_square) and (
operator_a.is_square is not None and operator_a.is_square is not None):
operator_a.is_square is not None and operator_b.is_square is not None):
return False

return None
Expand Down

0 comments on commit 1fd4a46

Please sign in to comment.