On Monday, 30 January 2017 01:51:05 UTC+1, Aaron Meurer wrote: > > Perhaps the derivative should raise an exception and is_constant should > ignore the derivative check if the derivative raises an exception. >
https://github.com/sympy/sympy/pull/12109 I made the derivative return *S.NaN* in case the symbol appears in the indices. It appears to work. -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cefcd1da-0e3c-435d-8641-9cd7aecd46c7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
