Skip to content

Commit df44259

Browse files
committed
Fixes
1 parent bb5426c commit df44259

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/default_polynomial.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ end
289289
function MA.buffer_for(op::MA.AddSubMul, ::Type{<:Polynomial{S}}, ::Type{<:AbstractTermLike{T}}, ::Type{<:Polynomial{U}}) where {S,T,U}
290290
return MA.buffer_for(op, S, T, U)
291291
end
292-
function MA.buffered_operate!(buffer, op::MA.AddSubMul, p::Polynomial, t::AbstractTermLike, q::Polynomial)
292+
function MA.buffered_operate!(buffer::Polynomial, op::MA.AddSubMul, p::Polynomial, t::AbstractTermLike, q::Polynomial)
293293
return _polynomial_merge!(op, p, t, q, buffer)
294294
end
295295

src/division.jl

-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ function div_multiple(f::APL, g::APL, mf::MA.MutableTrait=MA.IsNotMutable())
105105
end
106106
return q
107107
end
108-
# 2-arguments useful to be used with `Base.Fix2`
109-
_div_multiple!(a, b) = div_multiple(a, b, MA.IsMutable())
110108

111109
Base.div(f::APL, g::Union{APL, AbstractVector{<:APL}}; kwargs...) = divrem(f, g; kwargs...)[1]
112110
Base.rem(f::APL, g::Union{APL, AbstractVector{<:APL}}; kwargs...) = divrem(f, g; kwargs...)[2]

src/gcd.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ function univariate_gcd(
550550
return pp
551551
end
552552

553-
function univariate_gcd(::Field, p1::APL, p2::APL, algo::AbstractUnivariateGCDAlgorithm, m1::MA.MutableTrait, m2::MA.MutableTrait)
553+
function univariate_gcd(::Field, p1::APL, p2::APL, algo::AbstractUnivariateGCDAlgorithm, m1::MA.MutableTrait, m2::MA.MutableTrait, buffer=nothing)
554554
return primitive_univariate_gcd!(_copy(p1, m1), _copy(p2, m2), algo, buffer)
555555
end
556556

0 commit comments

Comments
 (0)