Skip to content

Commit f3074b4

Browse files
committed
Fix
1 parent 608b1c4 commit f3074b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function _add_variables!(p::PolyType, q::PolyType)
136136
return p
137137
end
138138

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

0 commit comments

Comments
 (0)