IsFilter is not an operation, which GAP doesn't like
This commit is contained in:
parent
92a7bff629
commit
6b679f8671
@ -45,8 +45,7 @@ DeclareGlobalFunction("LeftRack");
|
||||
DeclareGlobalFunction("RightRack");
|
||||
|
||||
# Underlying operation
|
||||
DeclareOperation("CloneOfTypeByGenerators",
|
||||
[IsFilter, IsFamily, IsCollection, IsAttribute]);
|
||||
DeclareGlobalFunction("CloneOfTypeByGenerators");
|
||||
|
||||
# Attributes for the generators
|
||||
|
||||
|
@ -1,9 +1,7 @@
|
||||
## structure.gi RAQ Implementation of definitiions, reps, and elt operations
|
||||
|
||||
## Create structures with generators
|
||||
InstallMethod(CloneOfTypeByGenerators,
|
||||
"for generic category of magma, family, collection, gen attrib",
|
||||
[IsFilter, IsFamily, IsCollection, IsAttribute],
|
||||
InstallGlobalFunction(CloneOfTypeByGenerators,
|
||||
function(cat, fam, gens, genAttrib)
|
||||
local M;
|
||||
if not(IsEmpty(gens) or IsIdenticalObj(FamilyObj(gens), fam)) then
|
||||
|
Loading…
Reference in New Issue
Block a user