New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section for composite maps #27081
Comments
Commit: |
New commits:
|
comment:3
Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually) |
comment:4
Moving tickets from the Sage 8.8 milestone that have been actively worked on in the last six months to the next release milestone (optimistically). |
comment:5
Sorry for letting my review of this take so long. Once these changes are done, then it is a positive review: - Compute a section map from sections of the factors of self if they have been implemented
+ Compute a section map from sections of the factors of
+ ``self`` if they have been implemented. I would write this with short-circuiting and the reversal already built-in: sections = []
for m in reversed(self):
try:
sec = m.section()
except TypeError:
return None
if sec is None:
return None
sections.append(m)
from sage.categories.homset import Hom
from sage.categories.sets_with_partial_maps import SetsWithPartialMaps
H = Hom(self.codomain(), self.domain(), category=SetsWithPartialMaps())
return FormalCompositeMap(H, sections) Capitalize the beginning of the |
Reviewer: Travis Scrimshaw |
comment:7
thanks, Travis! I'll be waiting for the patchbot! |
comment:8
Thank you. |
Changed branch from u/soehms/section_of_composite_map_27081 to |
Currently, a
section
method for the classFormalCompositeMap
is not implemented.This ticket supplies a section in cases, where all factors of the composite map have
section
implemented.
Examples which will be improved are:
Component: categories
Keywords: section map
Author: Sebastian Oehms
Branch/Commit:
bb25f16
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/27081
The text was updated successfully, but these errors were encountered: