-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Chart: Add init argument coord_restrictions, deprecate method add_restrictions #32102
Comments
Dependencies: #32089 |
This comment has been minimized.
This comment has been minimized.
comment:5
OK, converting a lambda to a callable symbolic expression is in #32103, but I guess for this ticket one could just call the lambda on the chart variables, so it's not really needed. I was expecting trouble with |
comment:6
The So we can either go through #32089, or get rid of |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Replying to @mkoeppe:
I have implemented a simpler solution |
comment:15
Replacements 1, 2, 3, and 5 should work now. For simplicity, let's skip 4. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:30
Replying to @mkoeppe:
Yes I understand this; the question is rather about the consistency of the INPUT field with the class declaration as it appears in the reference manual:
This is because Sphinx constructs the above from the New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:33
Replying to @egourgoulhon:
Great point; I have opened #32163 for this general issue. |
Reviewer: Eric Gourgoulhon |
comment:35
Thanks for this improvement! |
comment:36
Thanks for reviewing! |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. Last 10 new commits:
|
comment:38
Merged updated #32009 |
comment:41
Apparently this has been merged as part of #32089. |
(from #31901 comment:22)
This will remove the appearance of mutability of
Chart
s.Deprecated chart declaration:
Replacement 1 (implemented):
Replacement 2:
(
x
,y
defined in the first line would be some temporary placeholder variables.)Replacement 3 (implemented):
Replacement 4:
(chart initialization calls the lambdas on the symbolic variables x, y to get the symbolic relations)
Replacement 5 (implemented):
(chart initialization calls the lambda on the symbolic variables x, y to get the list of symbolic relations)
Depends on #32116
Depends on #32009
CC: @egourgoulhon @mjungmath @tscrim @vbraun
Component: manifolds
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/chart__add_init_argument_coord_restrictions__deprecate_method_add_restrictions @
c218828
Reviewer: Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/32102
The text was updated successfully, but these errors were encountered: