Skip to content

Commit b316731

Browse files
authored
Merge pull request #27 from JuliaAlgebra/bl/convert
Use convert explicitely
2 parents addedc5 + c089aae commit b316731

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operators.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ function plusorminus(p::TermPoly{C, S}, q::TermPoly{C, T}, op) where {C, S, T}
3030
if j > nterms(q) || (i <= nterms(p) && _getindex(p, i).x > _getindex(q, j).x)
3131
t = _getindex(p, i)
3232
z[maps[1]] = t.x.z
33-
α = U(t.α)
33+
α = convert(U, t.α)
3434
i += 1
3535
elseif i > nterms(p) || _getindex(q, j).x > _getindex(p, i).x
3636
t = _getindex(q, j)
3737
z[maps[2]] = t.x.z
38-
α = U(op(t.α))
38+
α = convert(U, op(t.α))
3939
j += 1
4040
else
4141
t = _getindex(p, i)

0 commit comments

Comments
 (0)