Skip to content
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

'term' and 'monomial' are inconsistently used in some Category and combinat code #7938

Closed
jbandlow opened this issue Jan 15, 2010 · 14 comments
Closed

Comments

@jbandlow
Copy link

I'm including a patch, but will rebase it against 4.3.1 once it is released.

CC: @sagetrac-sage-combinat

Component: categories

Author: Jason Bandlow

Reviewer: Nicolas M. Thiéry

Merged: sage-4.3.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/7938

@jbandlow
Copy link
Author

Attachment: swap_term_and_monomial-jb.patch.gz

@jbandlow

This comment has been minimized.

@nthiery
Copy link
Contributor

nthiery commented Jan 17, 2010

comment:2

This change has been discussed and approved on sage-devel and sage-combinat-devel. I went through the current patch and it looks good. This is a conditional positive review, pending a rebase on 4.3.1 (if at all needed), a recheck of all tests passing, and two little details:

Thanks Jason!

@nthiery
Copy link
Contributor

nthiery commented Jan 17, 2010

Reviewer: Nicolas M. Thiéry

@nthiery nthiery modified the milestones: sage-4.3.1, sage-4.3.2 Jan 17, 2010
@nthiery
Copy link
Contributor

nthiery commented Jan 17, 2010

comment:3

Replying to @nthiery:
Oops, I forgot the following:

  • Removing the spurious change to sage/combinat/crystals/affine.py
  • Adding a default value (the one of the coeff ring) for coeff in the new self.term, to make it backward compatible
  • Only if easy, make the new monomial accept a second optional coeff argument, to make it backward compatible. This could be a bit tricky, since self.monomial is a Map. It is also not as important as for term, since I expect the later to have been used far more more extensively than the former.

@jbandlow
Copy link
Author

comment:4

Attachment: trac_7938_swap_term_and_monomial-jb.patch.gz

The patch called 'trac_7938_...' is all that should be applied. In response to Nicolas' comments:

  • Rename patch: done
  • Add description: done
  • Remove spurious change to affine.py: done, but see Cleanup of crystal code #7978
  • Add default value for coeff in self.term: done
  • Add optional coeff argument to monomial: Not done yet. I'll look more (but maybe not much more) at this later.

@nthiery
Copy link
Contributor

nthiery commented Jan 18, 2010

comment:5

Replying to @jbandlow:

...

Thanks much!

  • Add description: done

Sorry for bothering you again. Please also remove the [mq] line, and put the rest on one line (hg treats the first line specifically).

Cheers,

@nthiery
Copy link
Contributor

nthiery commented Jan 21, 2010

comment:6

It does need a rebase w.r.t. #7729 (iwahori hecke algebra) whose file was renamed.

Please update the queue accordingly (including the #7729 patch).

@nthiery
Copy link
Contributor

nthiery commented Jan 22, 2010

comment:7

Replying to @nthiery:

It does need a rebase w.r.t. #7729 (iwahori hecke algebra) whose file was renamed.

Please update the queue accordingly (including the #7729 patch).

Done!

@nthiery
Copy link
Contributor

nthiery commented Jan 23, 2010

Rebased for 4.3.1

@nthiery
Copy link
Contributor

nthiery commented Jan 23, 2010

comment:8

Attachment: trac_7938_swap_term_and_monomial-jb.2.patch.gz

Sorry for bothering you again. Please also remove the [mq] line, and put the rest on one line (hg treats the first line specifically).

Done. Patch ready for merging into Sage.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Jan 23, 2010

Changed author from jbandlow to Jason Bandlow

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Jan 23, 2010

Merged: sage-4.3.2.alpha0

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Jan 23, 2010

comment:10

Merged trac_7938_swap_term_and_monomial-jb.2.patch.

@sagetrac-mvngu sagetrac-mvngu mannequin closed this as completed Jan 23, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants