Skip to content

Commit

Permalink
extend rQuotientRing to non-commutative quotient rings (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes14 authored Jun 26, 2024
1 parent b57cb8e commit 31a9b23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/src/rings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ void singular_define_rings(jlcxx::Module & Singular)
// This looks too simple, try make_qring if it doesn't work.
ring Q = rCopy(r);
Q->qideal = id_Copy(i, r);
if((i!=NULL) && rIsPluralRing(r))
{
nc_SetupQuotient(Q, r);
}
return Q;
});
Singular.method("make_qring", &make_qring);
Expand Down

0 comments on commit 31a9b23

Please sign in to comment.