Opened 7 years ago
Last modified 4 years ago
#14735 new defect
Bug with Python int division in wigner.py
Reported by: | kcrisman | Owned by: | burcin |
---|---|---|---|
Priority: | minor | Milestone: | sage-6.4 |
Component: | calculus | Keywords: | |
Cc: | paulmasson | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
From this ask.sagemath question:
sage: gaunt(1,1,1,0,1,-1) 0 sage: gaunt(int(1),int(1),int(1),int(0),int(1),int(-1)) 1/2*sqrt(3)/sqrt(pi)
This can come up when iterating over range
instead of srange
, which should be supported behavior (in my opinion, anyway). As far as I can tell, the only place this is an issue is
bigL = (l_1 + l_2 + l_3) / 2
but you never know.
I'm putting this under "calculus" but that doesn't really feel right.
Change History (6)
comment:1 Changed 7 years ago by
- Description modified (diff)
comment:2 Changed 7 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:3 Changed 6 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:4 Changed 6 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:5 Changed 6 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:6 Changed 4 years ago by
- Cc paulmasson added
Note: See
TracTickets for help on using
tickets.