Skip to content

Commit 88f5aa7

Browse files
authored
Update src/Matrix.jl
1 parent 0fd1bd4 commit 88f5aa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Matrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ that power series to different precisions may still be arithmetically
12781278
equal to the minimum of the two precisions.
12791279
"""
12801280
function ==(x::MatrixElem{T}, y::MatrixElem{T}) where {T <: NCRingElement}
1281-
check_parent(x, y)
1281+
parent(x) == parent(y) || return false
12821282
for i = 1:nrows(x)
12831283
for j = 1:ncols(x)
12841284
if x[i, j] != y[i, j]

0 commit comments

Comments
 (0)