Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
egri-nagy committed Sep 5, 2023
1 parent 7372188 commit c2e90c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/cascade.gi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Component domains are the sets of integers [1..n] that the components of a
# (de)composition act on. This functions creates these domains when a list of
# components is given. These can be transformation semigroups, permutation
# groups or simply the size of the domain.
# groups or simply the size of the domain, or the domain itself.
InstallGlobalFunction(CreateComponentDomains,
function(comps)
local domains, comp;
Expand Down Expand Up @@ -64,7 +64,7 @@ function(comps, deps)
end);

# a simple constructor that populates the object's members
# not menat for the end user at the commandline
# not meant for the end user at the commandline
InstallGlobalFunction(CreateCascade,
function(dom, compdoms, depfuncs, depdom, type)
local f;
Expand Down
2 changes: 1 addition & 1 deletion lib/coords.gi
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ InstallMethod(AsPoint, "for coordinates, componentdomains and domain",
[IsList, IsList, IsList],
function(coords, compdoms, dom)
local l;
if (Length(coords) = Size(compdoms)) and (Minimum(coords) > 0) then
if (Length(coords) = Size(compdoms)) and IsPosInt(Minimum(coords)) then
#if not abstract just return a point
return PositionCanonical(dom,coords);
else
Expand Down

0 comments on commit c2e90c1

Please sign in to comment.