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
replace subdivisions attribute for matrices with a function #4983
Comments
comment:1
The method is
but this should probably be changed to have an attribute _subdivisions and a method subdivisions() for consistency. |
comment:3
Here's patch. This keeps |
Author: John Palmieri |
comment:4
This looks real good. Passes long tests. I'm glad to see a "get_" go away. This means I should mildly change #10974, so I'll go make the changes necessary there and have it depend on this. |
Reviewer: Rob Beezer |
comment:5
This probably conflicts with #10847 too. |
comment:6
(where "conflicts" means that #10847 probably needs to be changed after this patch too.) |
comment:7
It would be nice if a patch that has had positive review for over a week did not have to be rebased for a patch that has had positive review for seven hours. Could this patch not be based on that instead? |
comment:9
Replying to @jhpalmieri:
Thanks, I appreciate it. I was aware of the incompatibility, just didn't have time to take care of it myself the next few days. |
Attachment: trac_4983-subdivisions.patch.gz |
comment:10
I just uploaded a new patch; the only difference is I added the comment
right before |
comment:11
This patch conflicts with #10974. |
comment:12
Here's a patch rebased against #10974. Does this need review or not? |
This comment has been minimized.
This comment has been minimized.
comment:13
Attachment: trac_4983-subdivisions-rebased.patch.gz |
comment:14
If it's literally a fairly trivial rebase and nothing changed in terms of testing, I think it would be okay to just post a diff of what had to be rebased (since the patch is fairly large) and set back to positive review. If there are some actual nontrivial changes in the code then I guess someone would have to review it. |
comment:15
Replying to @jhpalmieri:
Thanks, John.
Normally, I'd say "not." But I have two or three other rebase tasks for later this afternoon, so I can give it a quick test then. Rob |
comment:16
I just rebased it, I didn't change anything else, but if Rob has time to run tests on it, that would be great. (I've already done this, but it's good to double-check it.) |
comment:17
Replying to @kcrisman:
Done. |
comment:18
Replying to @jhpalmieri:
Double-check shows everything is fine on 4.7.alpha3: applies, builds, passes long tests. Thanks again, John, for sparing me the work on #10974. As a bonus I upgraded the depends/apply block to Jeroen's new formatting. ;-) |
This comment has been minimized.
This comment has been minimized.
Merged: sage-4.7.alpha4 |
I do not like this:
Notice that you can make the subdivisions nonsense because it can be changed.
Also, of course,
I don't like that at all either. I wish that subdivisions were a method with a proper docstring, doctests, etc., and that variable were hidden.
Then one would do:
Depends on:
Apply:
Component: linear algebra
Author: John Palmieri
Reviewer: Rob Beezer
Merged: sage-4.7.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/4983
The text was updated successfully, but these errors were encountered: