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 fc6a21e commit 56c3f7eCopy full SHA for 56c3f7e
src/algorithms/groebner-bases.jl
@@ -2,8 +2,6 @@ import msolve_jll: libneogb, libmsolve
2
3
export groebner_basis, eliminate
4
5
-using Libdl
6
-
7
@doc Markdown.doc"""
8
eliminate(I::Ideal{T} where T <: MPolyRingElem, eliminate::Int, <keyword arguments>)
9
@@ -182,12 +180,9 @@ function _core_groebner_basis(
182
180
gb_len = Ref(Ptr{Cint}(0))
183
181
gb_exp = Ref(Ptr{Cint}(0))
184
gb_cf = Ref(Ptr{Cvoid}(0))
185
- ngb = Libdl.dlopen("/Users/ederc/repos/master-msolve/src/neogb/.libs/libneogb")
186
187
-msv = Libdl.dlopen("/Users/ederc/repos/master-msolve/src/msolve/.libs/libmsolve")
188
-rr = Libdl.dlsym(msv, :export_groebner_qq)
189
if field_char == 0
190
- nr_terms = ccall(rr, Int,
+ nr_terms = ccall((:export_groebner_qq, libmsolve), Int,
191
(Ptr{Nothing}, Ptr{Cint}, Ptr{Ptr{Cint}}, Ptr{Ptr{Cint}}, Ptr{Ptr{Cvoid}},
192
Ptr{Cint}, Ptr{Cint}, Ptr{Cvoid}, Cint, Cint, Cint, Cint, Cint, Cint,
193
Cint, Cint, Cint, Cint, Cint, Cint, Cint, Cint),
0 commit comments