From 9b184d42aaf90db1b8ff8ca1d94f4cf1a71664e5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 8 Nov 2024 09:08:53 +0100 Subject: [PATCH] Remove redundant similar method --- test/generic/Matrix-test.jl | 1 - 1 file changed, 1 deletion(-) 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)