diff --git a/test/generic/Matrix-test.jl b/test/generic/Matrix-test.jl index 78cbaaafb9..10b1478df3 100644 --- a/test/generic/Matrix-test.jl +++ b/test/generic/Matrix-test.jl @@ -86,7 +86,6 @@ AbstractAlgebra.base_ring(::F2Matrix) = F2() Base.getindex(a::F2Matrix, r::Int64, c::Int64) = a.m[r, c] Base.setindex!(a::F2Matrix, x::F2Elem, r::Int64, c::Int64) = a.m[r, c] = x -Base.similar(x::F2Matrix, R::F2, r::Int, c::Int) = F2Matrix(similar(x.m, r, c)) function AbstractAlgebra.zero_matrix(R::F2, r::Int, c::Int) mat = Matrix{F2Elem}(undef, r, c)