Skip to content

Commit e92eecd

Browse files
authored
Add a RedispatchOnCondition to SubdirectProductOp (#3437)
Since some aspects of being a group homomorphism are Properties, not Categories, we need to allow for the chance that some mapping doesn't know it is a homomorphism, but is. This can't happen in a call from SubdirectProduct, but could happen if the operations is ever called from elsewhere.
1 parent 28d29fa commit e92eecd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/gprd.gi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,12 @@ end);
522522
##
523523
#M SubdirectProduct( <G1>, <G2>, <phi1>, <phi2> )
524524
##
525+
526+
RedispatchOnCondition(SubdirectProductOp, "check mappings", true,
527+
[IsGroup, IsGroup, IsGeneralMapping, IsGeneralMapping],
528+
[IsObject, IsObject, IsGroupHomomorphism, IsGroupHomomorphism],
529+
10);
530+
525531
InstallMethod( SubdirectProductOp,"groups", true,
526532
[ IsGroup, IsGroup, IsGroupHomomorphism, IsGroupHomomorphism ], 0,
527533
function( G, H, gh, hh )

0 commit comments

Comments
 (0)