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
Remove _derivative from Polynomial_template #28147
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/bruno/remove_derivative |
Commit: |
comment:3
I tried to detect potential problems with the removal of this method, but I didn't find any. Feel free to suggest where to look at! |
This comment has been minimized.
This comment has been minimized.
comment:5
Hi Bruno, I think you may want to adapt some of the doctests you are removing. Otherwise lgtm... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Hi Marc, I imported the removed doctests, and had errors... I had to change the error message when one tries to differentiate with respect to something "weird". In my view, this improves the current situation. In particular I do not find the following doctest (that I changed) very satisfying:
The new doctest seems more reasonable to me:
|
comment:8
Thank you! |
Reviewer: Marc Mezzarobba |
comment:9
Thank you for the review. Could you have a quick look to #26844 to confirm that the bug is indeed fixed by the current ticket? |
Changed branch from u/bruno/remove_derivative to |
Right now, the class
Polynomial_template
contains a method_derivative
, called from the genericderivative
(fromPolynomial
) through the functionmulti_derivative
ofmisc/derivative.pyx
. This method is quite badly written, with at least the following consequences:After removal:
Component: basic arithmetic
Keywords: polynomial
Author: Bruno Grenet
Branch/Commit:
9543c20
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/28147
The text was updated successfully, but these errors were encountered: