Skip to content

Commit

Permalink
Make package work without 'interface.g'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Aug 26, 2024
1 parent 22e177b commit 13e4ee3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions gap/BacktrackKit.gd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

#! @Chapter Executing a search

#! @Section Extra information and stats

Expand Down
8 changes: 4 additions & 4 deletions gap/constraint.gi
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ function(con)

# TODO: Add an Info statement saying that a search is about to happen and might be slow.

return BTKit_SimpleSinglePermSearch(
return _BTKit.SimpleSinglePermSearch(
PartitionStack(LargestRelevantPoint(con)),
[BTKit_RefinerFromConstraint(con)]);
[BTKit_RefinerFromConstraint(con)],[])[1];
end);

InstallImmediateMethod(Representative, "for a group constraint",
Expand Down Expand Up @@ -264,7 +264,7 @@ Constraint.Conjugate := function(G, H)

con := Constraint.Transport(G, H, OnPoints);
con!.Name := StringFormatted("<constraint: conjugate {} {} to {}>", type, G, H);

if IsPerm(G) and (CycleIndex(G) <> CycleIndex(H)) then
SetIsEmptyConstraint(con, true);
fi;
Expand Down Expand Up @@ -394,7 +394,7 @@ ProcessConstraints := function(args...)
if IsGroupConstraint(con) and HasUnderlyingGroup(con) and IsNaturalAlternatingGroup(UnderlyingGroup(con)) then
Add(constraints, Constraint.IsEven);
constraints[i] := Constraint.MovedPoints(MovedPoints(UnderlyingGroup(con)));

# In coset of Sym(x) -> combination
elif IsInCosetByGensConstraint(con) and not IsGroupConstraint(con) and IsNaturalSymmetricGroup(UnderlyingGroup(con)) then
G := UnderlyingGroup(con);
Expand Down

0 comments on commit 13e4ee3

Please sign in to comment.