Skip to content

Commit b17de80

Browse files
committed
Set 'overhead := false' in example of FiniteSkeletalDiscreteCategory
so that the actual installed function for IsEqualForMorphisms is executed and not just its redirect function.
1 parent 2981ac8 commit b17de80

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

CAP/examples/FiniteSkeletalDiscreteCategory.g

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55
#! @Example
66
LoadPackage( "CAP", false );
77
#! true
8-
D := FiniteSkeletalDiscreteCategory( 5 );
8+
9+
# Set 'overhead := false' so that the actual function installed
10+
# for IsEqualForMorphisms is executed in the CI and not just
11+
# its redirect function.
12+
D := FiniteSkeletalDiscreteCategory( 5 : overhead := false );
913
#! FiniteSkeletalDiscreteCategory( 5 )
14+
1015
one := ObjectConstructor( D, 1 );
1116
#! <An object in FiniteSkeletalDiscreteCategory( 5 )>
1217
IsWellDefinedForObjects( one );
@@ -18,7 +23,7 @@ Display( one );
1823
IsEqualForObjects( one, D[1] );
1924
#! true
2025
id_one := IdentityMorphism( D, one );
21-
#! <An identity morphism in FiniteSkeletalDiscreteCategory( 5 )>
26+
#! <A morphism in FiniteSkeletalDiscreteCategory( 5 )>
2227
IsWellDefinedForMorphisms( id_one );
2328
#! true
2429
MorphismDatum( id_one ) = fail;

0 commit comments

Comments
 (0)