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.
var_indices
1 parent 0418eca commit cdaa8a5Copy full SHA for cdaa8a5
src/generic/UnivPoly.jl
@@ -785,7 +785,7 @@ end
785
786
function evaluate(a::UnivPoly, A::Vector{<:Union{NCRingElem, RingElement}})
787
a2 = data(a)
788
- varidx = Int[var_index(x) for x in vars(a2)]
+ varidx = var_indices(a2)
789
isempty(varidx) && return constant_coefficient(a2)
790
isempty(A) && error("Number of variables does not match number of values")
791
vals = zeros(parent(A[1]), nvars(parent(a2)))
0 commit comments