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
Make .coxeter_matrix() return a CoxeterMatrix for coxeter3-implemented groups #30237
Comments
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
New commits:
|
Changed keywords from none to CoxeterGroup, CoxeterMatrix, coxeter, coxeter3 |
Author: Chase Meadors |
Reviewer: Travis Scrimshaw |
comment:4
The from sage.misc.superseded import deprecation
deprecation(30237, "the .m(i, j) method has been deprecated; instead use .coxeter_matrix()[i,j]") or whatever message is appropriate. Other than that, LGTM. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Done. |
comment:7
It needs to be doctested with a docstring as well. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Ah, sorry, wasn't sure if that needed to be done in this case. It's there now. |
comment:10
Can you quickly add a docstring just saying |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Done. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Sorry, one last thing. It needs to actually have the same result/behavior as before. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
I hope I understood correctly; I made it have the same behavior as before by "fixing" it; should it instead have the same implementation as before (which would cause the old doctests to throw errors)? Thanks for guiding me through the protocol here, by the way. |
comment:17
Perfect, thank you. |
Changed branch from u/gh-cemulate/coxeter3_matrix_cleanup to |
This patch fixes all of the following, which currently throw errors:
The underlying problem in all cases is that
W.coxeter_matrix()
does not return aCoxeterMatrix
; I've altered this to return the (correctly indexed) coxeter matrix and added a test.This also removes a completely unused function
CoxeterGroup.m(i, j)
which seemingly existed only to workaround the fact that.coxeter_matrix()
was incorrectly indexed (and in fact is ill-founded, it would cause an error on a group with affine Cartan type). This removal breaks no tests inlibs/coxeter3
.Component: combinatorics
Keywords: CoxeterGroup, CoxeterMatrix, coxeter, coxeter3
Author: Chase Meadors
Branch/Commit:
bd9b5c6
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/30237
The text was updated successfully, but these errors were encountered: