Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 21, 2024
1 parent 608b1c4 commit f3074b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function _add_variables!(p::PolyType, q::PolyType)
return p
end

function _mono_eval(z::Vector{Int}, vals::AbstractVector)
function _mono_eval(z::Union{Vector{Int},Tuple}, vals::AbstractVector)
if length(z) != length(vals)
error("Cannot evaluate a polynomial of `$(length(z))` variables with only `$(length(vals))` values.")
end
Expand Down

0 comments on commit f3074b4

Please sign in to comment.