Opened 15 months ago
Closed 13 months ago
#26327 closed enhancement (wontfix)
py3: bug in Symmetric functions
Reported by: | chapoton | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | python3 | Keywords: | |
Cc: | tscrim | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
in python3:
sage: S=SymmetricFunctions(QQ) sage: S([1]) m[1]
in python2:
sage: S=SymmetricFunctions(QQ) sage: S([1]) p[1]
Change History (5)
comment:1 Changed 15 months ago by
comment:2 Changed 15 months ago by
Maybe coming from a different order in python 2
sage: Sym = SymmetricFunctions(QQ) sage: Sym._realizations [Symmetric Functions over Rational Field in the powersum basis, Symmetric Functions over Rational Field in the monomial basis, Symmetric Functions over Rational Field in the elementary basis, Symmetric Functions over Rational Field in the Schur basis, Symmetric Functions over Rational Field in the homogeneous basis]
versus python3:
sage: Sym = SymmetricFunctions(QQ) sage: Sym._realizations [Symmetric Functions over Rational Field in the monomial basis, Symmetric Functions over Rational Field in the homogeneous basis, Symmetric Functions over Rational Field in the powersum basis, Symmetric Functions over Rational Field in the elementary basis, Symmetric Functions over Rational Field in the Schur basis]
comment:3 Changed 15 months ago by
- Milestone changed from sage-8.4 to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
I would not consider this a bug. In fact, it is a potential issue with anything that uses the WithRealizations()
. Generally you should not expect consistent results when trying to construct something from the abstract object as it is ill-defined. You need a specific realization (e.g., a specific basis) to use it. The abstract object is just acting as a façade for all of its realizations.
comment:5 Changed 13 months ago by
- Resolution set to wontfix
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
related to #26328