Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsingular_julia: id_prune_map_v #740

Merged
merged 10 commits into from
Jan 10, 2024
14 changes: 1 addition & 13 deletions deps/src/ideals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,6 @@ auto id_mres_map_helper(sip_sideal * I, int n, ring R)
return std::make_tuple(s, TT);
}

auto id_prune_map_helper(sip_sideal * I, ring R)
{
auto origin = currRing;
rChangeCurrRing(R);
ideal T;
ideal s = idMinEmbedding_with_map(I, NULL, T);
matrix TT = id_Module2Matrix(T, currRing);
rChangeCurrRing(origin);
return std::make_tuple(s, TT);
}

ideal id_Syzygies_internal(ideal m, ring o)
{
ideal id = NULL;
Expand Down Expand Up @@ -404,7 +393,6 @@ void singular_define_ideals(jlcxx::Module & Singular)

Singular.method("id_res", &id_res_helper);
Singular.method("id_mres_map", &id_mres_map_helper);
Singular.method("id_prune_map", &id_prune_map_helper);
hannes14 marked this conversation as resolved.
Show resolved Hide resolved

Singular.method("id_Slimgb", &id_Slimgb_helper);

Expand Down Expand Up @@ -563,7 +551,7 @@ void singular_define_ideals(jlcxx::Module & Singular)
Singular.method("id_vdim", [](ideal I, ring r) {
const ring origin = currRing;
rChangeCurrRing(r);
long n = scMult0Int(I, r->qideal);
int n = scMult0Int(I, r->qideal);
rChangeCurrRing(origin);
return n;
});
Expand Down
Loading