diff --git a/src/module/module.jl b/src/module/module.jl index d41ddb988..af52fb695 100644 --- a/src/module/module.jl +++ b/src/module/module.jl @@ -402,7 +402,8 @@ and the transformation matrix of id to R. """ function prune_with_map(I::smodule{spoly{T}}) where T <: Nemo.FieldElem R = base_ring(I) - r, TT_ptr = GC.@preserve I R libSingular.id_prune_map(I.ptr, R.ptr) + a = Vector{Int32}() + r, TT_ptr = GC.@preserve I R libSingular.id_prune_map_v(I.ptr, a, R.ptr) return smodule{spoly{T}}(R, r),smatrix{spoly{T}}(R,TT_ptr) end