-
-
Notifications
You must be signed in to change notification settings - Fork 516
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
Clean up SpecializationMorphism #23343
Comments
Commit: |
Dependencies: #23337 |
This comment has been minimized.
This comment has been minimized.
comment:4
I don't think they are really compatible. Instead, I think these changes should replace those in #10483. The changes of #10483 rely on strings for keys rather than variables, which (in principle) would not work if a variable name is repeated (I haven't explicitly tested that this works in my code or if this is [suppose to be] a supported feature). |
comment:6
OK, that wasn't clear. Thanks for the clarification. |
This comment has been minimized.
This comment has been minimized.
Reviewer: Jeroen Demeyer |
Changed author from Travis Scrimshaw to Travis Scrimshaw, Jeroen Demeyer |
comment:8
In order to understand the New commits:
|
comment:9
Inserting at the beginning of a list repeatedly is more expensive than inserting at the end and then reversing (it has to bump each entry back every time you insert). Granted, at this scale it may not be a big issue. Somewhere between paranoia and it makes the code easier to parse: - force_multivariate = (len(old) == 1) and is_MPolynomialRing(R)
+ force_multivariate = ((len(old) == 1) and is_MPolynomialRing(R)) Is there a definitive reason to force the multivariate polynomial ring? I know you're not changing the current implementation, but I'm just wondering if that is something that is necessary since the univariates tend to be more powerful. If you don't know, then we can just leave it as is. LGTM otherwise. |
comment:10
Replying to @tscrim:
I don't know, I just didn't want to change the existing behaviour. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Minor update. |
comment:13
Thanks. LGTM. |
comment:14
missing utf8 declaration in src/sage/rings/polynomial/flatten.py |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Changed reviewer from Jeroen Demeyer to Jeroen Demeyer, Travis Scrimshaw |
Changed branch from u/jdemeyer/ticket/var_names_not_symbolic_names-23337 to |
Depends on #23337
CC: @tscrim
Component: algebra
Author: Travis Scrimshaw, Jeroen Demeyer
Branch/Commit:
6766161
Reviewer: Jeroen Demeyer, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/23343
The text was updated successfully, but these errors were encountered: