Skip to content

Commit

Permalink
Try to address partially #72
Browse files Browse the repository at this point in the history
  • Loading branch information
pedritomelenas authored Aug 4, 2022
1 parent ccb1d57 commit 6b3c4fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gap/basics.gi
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ end);
InstallMethod( BelongsToNumericalSemigroup,
"To test whether an integer belongs to a numerical semigroup",
true,
[IsInt,IsNumericalSemigroup and HasSmallElements],10,
[IsInt,IsNumericalSemigroup and HasSmallElements],20,
function(n,S)
local s;
if n=0 then
Expand All @@ -553,7 +553,7 @@ end);
InstallMethod( BelongsToNumericalSemigroup,
"To test whether an integer belongs to a numerical semigroup",
true,
[IsInt,IsNumericalSemigroup and HasAperyList],
[IsInt,IsNumericalSemigroup and HasAperyList],10,
function(n,S)
local ap, m;

Expand All @@ -572,7 +572,7 @@ end);
InstallMethod( BelongsToNumericalSemigroup,
"To test whether an integer belongs to a numerical semigroup",
true,
[IsInt,IsNumericalSemigroup and HasFundamentalGaps],
[IsInt,IsNumericalSemigroup and HasFundamentalGaps],10,
function(n,S)
local f;

Expand All @@ -586,7 +586,7 @@ end);
InstallMethod( BelongsToNumericalSemigroup,
"To test whether an integer belongs to a numerical semigroup",
true,
[IsInt,IsNumericalSemigroup and HasModularConditionNS],
[IsInt,IsNumericalSemigroup and HasModularConditionNS],15,
function(n,S)
local a,b;
if n=0 then
Expand Down

0 comments on commit 6b3c4fb

Please sign in to comment.