Skip to content

Commit

Permalink
Update MatchingPowers.m2
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonino-Ficarra authored Oct 7, 2024
1 parent 73272f5 commit 7522fda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2/Macaulay2/packages/MatchingPowers.m2
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ matchingProduct (Ideal,Ideal) := (I,J) -> (
if (set support u)*(set support v)===set{} then l=append(l,u*v);
);
);
if ideal(l)==ideal(0_ZZ) then return ideal(0_S);
trim ideal(l)
);

Expand Down

0 comments on commit 7522fda

Please sign in to comment.