-
-
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
Immutability of chart functions #30310
Comments
This comment has been minimized.
This comment has been minimized.
Author: Michael Jung |
New commits:
|
Commit: |
Changed keywords from none to immutability |
Dependencies: #30181 |
comment:4
Why is #30181 a dependency of this ticket? A priori chart functions are totally independent from tensor fields. They even exist on pure topological manifolds. |
comment:5
It is because of -from sage.structure.element import AlgebraElement
+from sage.structure.element import AlgebraElement, ModuleElementWithMutability
...
-class ChartFunction(AlgebraElement):
+class ChartFunction(AlgebraElement, ModuleElementWithMutability): |
comment:6
|
comment:7
I feel like the |
comment:9
I know, but as a stop-gap, you could instead implement a |
comment:10
Replying to @mjungmath:
Ah yes, thanks. |
comment:12
I tried to remove the redundant code and inherit from Furthermore, the code seems broken: def is_immutable(self):
"""
...
"""
self._is_immutable When did that happen? |
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:19
Green patchbot. |
comment:20
I think you are better off explicitly calling
|
comment:21
Yes thanks, this should be better. |
comment:22
Pushed. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Travis Scrimshaw |
comment:24
Green bot => positive review. |
comment:26
Thank you. |
Changed branch from u/gh-mjungmath/immutability_of_chart_functions to |
Immutability of chart functions, see #30261.
Depends on #31181
Depends on #31182
CC: @egourgoulhon @tscrim @mkoeppe
Component: manifolds
Keywords: immutability
Author: Michael Jung
Branch/Commit:
e855ebc
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/30310
The text was updated successfully, but these errors were encountered: