#8426: polynomial * constant does not work if constant is a numpy type
---------------------------+----------------------------------------------
Reporter: jason | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: major | Milestone: sage-duplicate/invalid/wontfix
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------+----------------------------------------------
Changes (by vdelecroix):
* status: new => needs_review
* milestone: sage-6.4 => sage-duplicate/invalid/wontfix
Comment:
Hello,
I propose to close this as duplicates because of #18076 that fixes it.
With the branch applied I got
{{{
sage: import numpy
sage: R.<x> = RR[]
sage: x * numpy.float32('23.0')
23.0000000000000*x
}}}
and even the pushout works
{{{
sage: R.<x> = ZZ[]
sage: x * numpy.float32('23.0')
23.0*x
sage: parent(_)
Univariate Polynomial Ring in x over Real Double Field
}}}
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/8426#comment:6>
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/d/optout.