I just want to point out that these were already in 4.3, so it wasn't
introduced in the last month.

On Jan 25, 10:41 am, Harald Schilly <harald.schi...@gmail.com> wrote:
> here a follow up bug report for the same problem:
>
> x=var('x')
> f(x)=1/log(x)/x
> plot(f,2,3)
>
> nobody responded to this. Is this already known? Some ideas where
> exactly the problem is so that it can be fixed? I think it's rather
> serious that these functions cannot be plotted.

I think it might have something to do with this (f, g, h are hopefully
obvious from earlier in the thread):

sage: h.operands()
[pi^(-2), 1/x]
sage: g.operands()
[1/pi, 1/x]
sage: f.oper
f.operands  f.operator
sage: f.operands()
[1/x, 1/log(x)]

Note that multiplying two 1/blah generates it.  For instance:

sage: j(x)=1/(e*x)
sage: plot(j)
<all is well>
sage: j.operands()
[1/x, e^(-1)]

I wouldn't be surprised if the following in the function referenced in
the traceback was related, though I have no idea how:

            if exponent == -1:
                return self.etb.call(_operator.div, 1, operands[0])

Note that

sage: 1/e
e^(-1)
sage: 1/pi
1/pi

So there is some inconsistency already with this.  Probably Burcin
will know where the problem lies.  Thank you for being persistent on
this, Harald!

- kcrisman

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to