Skip to content

Commit 4409fc1

Browse files
committed
Update src/Matrix.jl
1 parent ab6ff47 commit 4409fc1

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
@@ -1313,7 +1313,7 @@ that power series to different precisions may still be arithmetically
13131313
equal to the minimum of the two precisions.
13141314
"""
13151315
function ==(x::MatrixElem{T}, y::MatrixElem{T}) where {T <: NCRingElement}
1316-
check_parent(x, y)
1316+
parent(x) == parent(y) || return false
13171317
for i = 1:nrows(x)
13181318
for j = 1:ncols(x)
13191319
if x[i, j] != y[i, j]

0 commit comments

Comments
 (0)