I also vote for the TypeError. Le 31 mai 2015 23:17, "Joachim Durchholz" <[email protected]> a écrit :
> Am 31.05.2015 um 22:50 schrieb Aaron Meurer: > >> Perhaps we should make derivatives of booleans give TypeError. That >> would make it much easier to see what is going on. >> > > +1 > > Similarly, integer-valued functions should (probably?) emit a warning if a > derivative is taken. The derivative is technically correct, but usually not > what one wanted. > > It may also be worth it to print a warning in SymPy Live when ^ is used. >> > > I'll be all for it if somebody picks that up. > > -- > 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/556B7A6C.4030009%40durchholz.org. > For more options, visit https://groups.google.com/d/optout. > -- 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/CAAb4jGk%3DYo2Wx4AOm83LDyKgZwGxU79FWxzeUAKA1tsqZWCWcw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
