Skip to content

Commit

Permalink
FIX: ExponentsSumWord for SLP elements
Browse files Browse the repository at this point in the history
Can occur in `AbelianInvariantsMultiplier`.
  • Loading branch information
hulpke authored and fingolfin committed Jan 3, 2024
1 parent 1a74b72 commit 85276bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/straight.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2059,6 +2059,17 @@ function(slp,gens,imgs)
);
end);

#############################################################################
##
#M ExponentSumWord
##
InstallMethod(ExponentSumWord,"for a straight line program word",
IsIdenticalObj, [IsAssocWord and IsStraightLineProgElm,IsAssocWord],0,
function(slp,e)
return ExponentSumWord(EvalStraightLineProgElm(slp),
EvalStraightLineProgElm(e));
end);

# words represented as tree elements (those are useful for decoding subgroup
# presentations)

Expand Down

0 comments on commit 85276bf

Please sign in to comment.