#15805: the q-integer 0 has no parent.
-----------------------------+-----------------------------
Reporter: chapoton | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.2
Component: combinatorics | Keywords: q-analogs
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-----------------------------
For uniformity, all q-integers should belong to the polynomial ring in q
over ZZ.
{{{
sage: from sage.combinat.q_analogues import q_int
sage: q_int(1).parent()
Univariate Polynomial Ring in q over Integer Ring
sage: q_int(0).parent()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
<ipython-input-3-f312dad40f56> in <module>()
----> 1 q_int(Integer(0)).parent()
AttributeError: 'int' object has no attribute 'parent'
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15805>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.