Skip to content

Commit cdb5e35

Browse files
simplified MonomorphismIntoSomeInjectiveObjectWithGivenSomeInjectiveObject
for SkeletalFinSets
1 parent 8a24cb7 commit cdb5e35

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

gap/SkeletalFinSetsForCAP.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ end );
689689
AddMonomorphismIntoSomeInjectiveObjectWithGivenSomeInjectiveObject( SkeletalFinSets,
690690
function ( cat, M, injective_object )
691691

692-
return MapOfFinSets( M, List( M, x -> x ), injective_object );
692+
return MapOfFinSets( M, AsList( M ), injective_object );
693693

694694
end );
695695

gap/precompiled_categories/CategoryOfSkeletalFinSetsPrecompiled.gi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,7 @@ end
567567

568568
########
569569
function ( cat_1, A_1, I_1 )
570-
return MapOfFinSets( A_1, List( A_1, function ( x_2 )
571-
return x_2;
572-
end ), I_1 );
570+
return MapOfFinSets( A_1, AsList( A_1 ), I_1 );
573571
end
574572
########
575573

0 commit comments

Comments
 (0)