#10595: Vector constructor fails on empty list with no ring given
---------------------------------+------------------------------------------
Reporter: rbeezer | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.6.2
Component: linear algebra | Keywords:
Author: Rob Beezer | Upstream: N/A
Reviewer: Dmitrii Pasechnik | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Comment(by rbeezer):
Replying to [comment:11 dimpase]:
> how about the following:
>
> make vector(blah) check whether blah.vector() can be called, and call
it, if it is there.
>
> add vector() member function to the corresponding complex number class.
Yes, that's nice. Or even just call the member function every place it is
needed, without adding more to the general vector constructor. That'd
still require a fair bit of editing, but it would be mindless.
Rob
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10595#comment:12>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.