File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ def __eq__(self, other) -> bool:
319
319
False
320
320
"""
321
321
if (self ._map .domain () != other ._map .domain ()
322
- or self ._map .codomain () != other ._map .codomain ()
323
- or self .base_ring () != other .base_ring ()
322
+ or self ._map .codomain () != other ._map .codomain ()
323
+ or self .base_ring () != other .base_ring ()
324
324
or self ._cohomology != other ._cohomology ):
325
325
return False
326
326
dim = min (self ._map .domain ().dimension (), self ._map .codomain ().dimension ())
@@ -345,7 +345,7 @@ def is_identity(self) -> bool:
345
345
"""
346
346
return self .to_matrix ().is_one ()
347
347
348
- def is_surjective (self ):
348
+ def is_surjective (self ) -> bool :
349
349
"""
350
350
Return ``True`` if this map is surjective on (co)homology.
351
351
@@ -363,7 +363,7 @@ def is_surjective(self):
363
363
m = self .to_matrix ()
364
364
return m .rank () == m .nrows ()
365
365
366
- def is_injective (self ):
366
+ def is_injective (self ) -> bool :
367
367
"""
368
368
Return ``True`` if this map is injective on (co)homology.
369
369
You can’t perform that action at this time.
0 commit comments