William,

The patch as written gives the same error.  However if you
change line 37 of the patch from
     if vx == vy == 0:
to
     if vy == vz == 0:
(since atan2() is taking arguments vy and vz) then
I get a different error on ia64-Linux:

sage -t  devel/sage-main/sage/plot/plot3d/plot3d.py
**********************************************************************
File "plot3d.py", line 19:
    sage: S.show()
Expected nothing
Got:
    6.0
    <type 'sage.rings.real_double.RealDoubleElement'>
    0.0
    0.0
**********************************************************************
1 items had failures:
   1 of   9 in __main__.example_0
***Test Failed*** 1 failures.

Kate

On Sep 13, 2:14 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> Hi Kate,
>
> If possible could you test if the *very simple* patch at
>
>    http://www.sagemath.org:9002/sage_trac/ticket/646
>
> fixes the bug you observed with plot3d.py in sage-2.8.4.1?
>
>    -- William
>
> On 9/12/07, Kate Minola <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > William,
>
> > sage-2.8.4.1 built and successfully passed all
> > tests on the following architectures:
>
> >   x86-Linux (pentium4-fc6)
> >   x86_64-Linux (fc6)
>
> > On ia64-Linux, sage-2.8.4.1 only failed one test:
> >       sage -t  devel/sage-main/sage/plot/plot3d/plot3d.py
>
> > File "plot3d.py", line 19:
> >     sage: S.show()
> > Exception raised:
> >     Traceback (most recent call last):
> >       File 
> > "/home/kate/sage/sage-2.8.4.1-ia64-Linux/local/lib/python2.5/doctest.py",
> > line 1212, in __run
> >         compileflags, 1) in test.globs
> >       File "<doctest __main__.example_0[8]>", line 1, in <module>
> >         S.show()###line 19:
> >     sage: S.show()
> >       File "base.pyx", line 183, in base.Graphics3d.show
> >         tachyon_rt(self.tachyon(), filename+".png", verbosity, True, '')
> >       File "base.pyx", line 153, in base.Graphics3d.tachyon
> >         self.tachyon_str(render_params))
> >       File "base.pyx", line 159, in base.Graphics3d.tachyon_str
> >         return "\n".join(flatten_list(self.tachyon_repr(render_params)))
> >       File "base.pyx", line 202, in base.Graphics3dGroup.tachyon_repr
> >         return [g.tachyon_repr(render_params) for g in self.all]
> >       File "base.pyx", line 202, in base.Graphics3dGroup.tachyon_repr
> >         return [g.tachyon_repr(render_params) for g in self.all]
> >       File "base.pyx", line 260, in base.TransformGroup.tachyon_repr
> >         rep = [g.tachyon_repr(render_params) for g in self.all]
> >       File "base.pyx", line 259, in base.TransformGroup.tachyon_repr
> >         render_params.push_transform(self.get_transformation())
> >       File "base.pyx", line 274, in base.TransformGroup.get_transformation
> >         self.T = Transformation(self._scale, self._rot, self._trans)
> >       File "transform.pyx", line 37, in transform.Transformation.__init__
> >         t = atan2(vy,vz) + pi/2
> >     ValueError: math domain error
>
> > My compliments to everyone who participated in the recent Sage BUG
> > days - it looks like you fixed a lot of bugs!
>
> > Kate
>
> > --
> > Kate Minola
> > University of Maryland, College Park
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to