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 da992bd commit ae4a625Copy full SHA for ae4a625
src/algorithms/param-curve.jl
@@ -97,8 +97,8 @@ function rational_curve_parametrization(
97
end
98
info_level>0 && println()
99
for j in 1:length(free_ind)
100
- # For lifting: the same variable must be chosen for the param
101
- if Lr[j].vars == [symbols(R)[1:N-2]; symbols(R)[N]]
+ # Specialization checks: same vars order, generic degree
+ if Lr[j].vars == [symbols(R)[1:N-2]; symbols(R)[N]] && degree(Lr[j].elim) == DEG
102
lc = leading_coefficient(Lr[j].elim)
103
rr = [ p/lc for p in vcat(Lr[j].elim, Lr[j].denom, Lr[j].param) ]
104
PARAM[j] = rr
0 commit comments