Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Mar 12, 2024
1 parent d37b2ec commit 14a7f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MBext/MBextra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function MB.change_basis(p::MP.AbstractPolynomialLike, Basis::Type{<:MB.Abstract
end

function MB.change_basis(p::MP.AbstractPolynomialLike, basis::MB.AbstractPolynomialBasis)
coeffs = Vector{promote_type(Float64, coefficienttype(p))}(undef, length(basis))
coeffs = Vector{promote_type(Float64, MP.coefficient_type(p))}(undef, length(basis))
rem = p
mons = monomials(basis)
for i in reverse(eachindex(basis))
Expand Down

0 comments on commit 14a7f6f

Please sign in to comment.