-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
The inverse of the inverse should be self in CoordChange #31923
Comments
Commit: |
New commits:
|
comment:2
LGTM. Green bot => Green light |
Reviewer: Michael Jung |
comment:3
Thank you for this superfast review! |
comment:4
Replying to @mjungmath:
Well, no bot at all... I wonder why no patchbot has visited this ticket after two days. Maybe they are super busy at the moment... |
comment:5
Mh, indeed. :-/ Maybe you can push the changes into another branch again to trigger the patchbot? |
comment:7
Replying to @mjungmath:
Done. Let's see... |
comment:8
IMO, that won't change anything. |
comment:9
The ticket appears now at the top of the list at https://patchbot.sagemath.org/, but the order in this list is probably just the last modification time and not the priority for patchbots. |
comment:10
Replying to @tscrim:
You were right, Travis, as always ;-) |
comment:11
Patchbots seem to be having a hard time with #31928, |
comment:12
The patchbot came eventually and is morally green: it reports only one doctest failure in |
comment:13
On behalf of Michael, in view of comment:4 and comment:12. |
comment:14
Replying to @egourgoulhon:
thumbs up! |
Changed branch from public/manifolds/transition_map_inverse_of_inverse-31923 to |
When initializing the inverse of a transition map between two charts, either by the method
CoordChange.inverse
(computation of the inverse) or byCoordChange.set_inverse
(inverse provided by the user), the attribute_inverse
ofself
is set to the inverse object (for caching). Obviously, by symmetry, the attribute_inverse
of the inverse should be set toself
, but it is not. As a consequence, we have in Sage 9.3:So far so good, but
This is fixed in this ticket by the following one-line addition to the code of
CoordChange.inverse
andCoordChange.set_inverse
:Besides, this ticket improves a little bit the documentation of
CoordChange.inverse
.CC: @tscrim @mjungmath @mkoeppe
Component: manifolds
Keywords: chart, transition_map
Author: Eric Gourgoulhon
Branch/Commit:
923196a
Reviewer: Michael Jung
Issue created by migration from https://trac.sagemath.org/ticket/31923
The text was updated successfully, but these errors were encountered: