Skip to content

Commit

Permalink
remove obsolete fix (#3608)
Browse files Browse the repository at this point in the history
Co-authored-by: anne <[email protected]>
  • Loading branch information
afkafkafk13 and anne authored Apr 15, 2024
1 parent 3e92192 commit 70078a6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Rings/mpoly-affine-algebras.jl
Original file line number Diff line number Diff line change
Expand Up @@ -949,13 +949,7 @@ function is_normal(A::MPolyQuoRing; check::Bool=true)
!check || is_reduced(A) || return false

I = A.I
# TODO remove old1 & old2 once new Singular jll is out
# QUESTION: How old is this? Has this been fixed yet?
old1 = Singular.libSingular.set_option("OPT_REDSB", false)
old2 = Singular.libSingular.set_option("OPT_RETURN_SB", false)
f = Singular.LibNormal.isNormal(singular_generators(I))::Int
Singular.libSingular.set_option("OPT_REDSB", old1)
Singular.libSingular.set_option("OPT_RETURN_SB", old2)
return Bool(f)
end
end
Expand Down

0 comments on commit 70078a6

Please sign in to comment.