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
pep cleanup for the quivers folder #28461
Comments
Branch: u/chapoton/28461 |
Commit: |
New commits:
|
comment:2
green bot, please review |
comment:3
Is there a reason why you didn't also change this to a - elems = dict((v, self._left_action_mats[edge][v]*element._elems[v]) for v in self._quiver)
+ elems = dict((v, self._left_action_mats[edge][v]*element._elems[v])
+ for v in self._quiver) In this change: - result = parent() # this must not be the cached parent.zero(),
- # since otherwise it gets changed in place!!
+ result = parent()
+ # this must not be the cached parent.zero(),
+ # since otherwise it gets changed in place!! I think it would be better for the comment to go first. Also, in principle, the result of |
comment:5
I have made the trivial changes that you suggested. Concerning the zero, it seems that there is really a problem. This looks serious enough that it should be kept for a dedicated ticket. Moreover, I am not sure that the coercion framework is used correctly, as this happens inside a double underscore method |
comment:6
Replying to @fchapoton:
Thank you.
Sounds good. cc me on that and I can do the review, or I can make the change tomorrow if you have not started on it already. |
Reviewer: Travis Scrimshaw |
Changed branch from u/chapoton/28461 to |
mainly cosmetic changes in code presentation
CC: @tscrim
Component: algebra
Author: Frédéric Chapoton
Branch/Commit:
e7695d3
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/28461
The text was updated successfully, but these errors were encountered: