It fails like that in master. AttributeError is pretty much always a bug (unless you yourself accessed an attribute that is not there, or passed in the wrong type to something).
Aaron Meurer On Wed, Jan 29, 2014 at 12:56 PM, Matthew Rocklin <[email protected]> wrote: > This doesn't fail in 0.7.3 (Access to master isn't convenient at the > moment). Even when it doesn't err it still doesn't produce anything > meaningful. > > > On Wed, Jan 29, 2014 at 10:06 AM, F. B. <[email protected]> wrote: >> >> >> In [5]: X = ContinuousRV(x, x, (0, 2)) >> >> In [6]: Y = tan(X) >> >> In [7]: density(Y) >> AttributeError: 'tuple' object has no attribute 'is_Piecewise' >> >> Is this a bug or a missing feature? >> >> -- >> 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. >> For more options, visit https://groups.google.com/groups/opt_out. > > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
