Skip to content

Commit

Permalink
Update src/generic/UnivPoly.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Oct 21, 2024
1 parent c5fc9ce commit 04faa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/UnivPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ for op in (:+, :-, :*)
return UnivPoly{T}($op(data(p),n), S)
end

function *(p::UnivPoly{T}, n::T) where {T <: RingElem}
function $op(p::UnivPoly{T}, n::T) where {T <: RingElem}
S = parent(p)
return UnivPoly{T}($op(data(p),n), S)
end
Expand Down

0 comments on commit 04faa82

Please sign in to comment.