Closed shashi closed 10 months ago
Actually my fix does not work since the next sequence of code expects polynomials.
I see the type parameters are different now.
polynoms = Vector{DP.Polynomial{true, commontype}}(undef, length(sympolys))
this is the offending line and there might be other broken things.
It seems the CompatHelper was not watching this
https://github.com/JuliaSymbolics/Symbolics.jl/pull/965
Yes, I changed the type, you should use polynomial_type(x, Float64)
to get the type of polynomials or you can do something like https://github.com/jump-dev/PolyJuMP.jl/blob/master/src/nl_to_polynomial.jl#L4-L8
thanks!
I think this used to work but a recent version has broken it, and broken Symbolics CI. I'm fixing it by making the output
Vector{Any}
instead ofVector{Polynomial}