#13890: small bug in point3d
-------------------------+-------------------------------------------------
Reporter: | Owner: jason, was
tjolivet | Status: needs_review
Type: | Milestone: sage-6.4
defect | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
graphics | Work issues:
Keywords: | Commit:
plot3d, point3d | e042380341e6ccd0f664a0226eb8f3f729b17319
Authors: | Stopgaps:
Frédéric Chapoton |
Report Upstream: N/A |
Branch: |
u/chapoton/13890 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by kcrisman):
This applies, but apparently needs rebasing since I still get the same
error after applying this. There does seem to be some new code in that
spot.
Interestingly, n the meantime the original error has changed.
{{{
sage: points(iter([(1,1,1)]))
---------------------------------------------------------------------------
1077
1078 """
-> 1079 if len(v) == 3:
1080 try:
1081 # check if the first element can be changed to a float
TypeError: object of type 'listiterator' has no len()
}}}
By the way, should we try to accommodate generators as well?
{{{
points( (x,x,x) for x in range(3) )
}}}
or the like.
--
Ticket URL: <http://trac.sagemath.org/ticket/13890#comment:10>
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.