Sorry for the logic error in my previous post. In any case, what about this:
In [15]: X = ContinuousRV(x, exp(-x), Interval(0, oo)) In [16]: P(X < 1/2) Out[16]: -1/2 - ℯ + 1 In [17]: P(X < log(2)) AttributeError: 'bool' object has no attribute 'is_Piecewise' This one still looks like a bug. -- You received this message because you are subscribed to the Google Groups "sympy" 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/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/fa99d217-ba0c-4748-b5a4-a0fdca0c350e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
