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

Fixed #3600 #3611

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion M2/Macaulay2/packages/gfanInterface.m2
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ gfanConvertToNewRing (PolynomialRing) := R1 -> (
--produced by this method.
R1Gens := gens R1;
numDigits := length (toString (#R1Gens));
R2 := (coefficientRing R1) (for i in 1..#R1Gens list (
R2 := (coefficientRing R1) new Array from (for i in 1..#R1Gens list (
value ("x" | demark ("",for i from 1 to numDigits-(length toString i) list "0") | toString i)
) );
R2Gens := gens R2;
Expand Down Expand Up @@ -4436,6 +4436,15 @@ doc///
assert equalMPL(B,Bprime)
///

-- TEST gfanConvertToNewRing x NCAlgebra (cf. #3600)
TEST ///
debug needsPackage "gfanInterface"
R = QQ[a];
gfanConvertToNewRing(R);
needsPackage "NCAlgebra";
gfanConvertToNewRing(R)
///

-- TEST gfanBuchberger
TEST ///
equalMPL = (A,B) -> set transpose A === set transpose B
Expand Down
Loading