Skip to content

Commit e2210ef

Browse files
Update pytensor/tensor/math.py
Co-authored-by: Ricardo Vieira <[email protected]>
1 parent 5b578b2 commit e2210ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/tensor/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ def eq(a, b):
776776
777777
Notes
778778
-----
779-
Due to Python rules, it is not possible to correctly overload the equality symbol `==` for hashable objects,
779+
Due to Python rules, it is not possible to overload the equality symbol `==` for hashable objects and have it return something other than a boolean,
780780
so `eq` must always be used to compute the Elemwise equality of TensorVariables (which are hashable).
781781
"""
782782

0 commit comments

Comments
 (0)