We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 608b1c4 commit f3074b4Copy full SHA for f3074b4
src/subs.jl
@@ -136,7 +136,7 @@ function _add_variables!(p::PolyType, q::PolyType)
136
return p
137
end
138
139
-function _mono_eval(z::Vector{Int}, vals::AbstractVector)
+function _mono_eval(z::Union{Vector{Int},Tuple}, vals::AbstractVector)
140
if length(z) != length(vals)
141
error("Cannot evaluate a polynomial of `$(length(z))` variables with only `$(length(vals))` values.")
142
0 commit comments