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 02373a6 commit f721360Copy full SHA for f721360
src/algorithms/dimension.jl
@@ -23,7 +23,6 @@ function dimension(I::Ideal{T}) where T <: MPolyRingElem
23
groebner_basis(I, complete_reduction = true)
24
end
25
R = parent(first(gb))
26
-
27
res = Set([trues(ngens(R))])
28
lead_exps = (_drl_lead_exp).(gb)
29
for lexp in lead_exps
@@ -54,6 +53,6 @@ end
54
53
55
function _drl_lead_exp(p::MPolyRingElem)
56
exps = collect(Nemo.exponent_vectors(p))
57
- _, i = findmax(_drl_exp_vector, exps)
+ _, i = findmax(_drl_exp_vector.(exps))
58
return exps[i]
59
0 commit comments