Re: Symbols with lambdify

2010-06-03 Thread Aaron S. Meurer
Don't worry. You aren't the first person to do that. Watch the video here: http://wiki.github.com/certik/sympy/ :) Aaron Meurer On Jun 3, 2010, at 2:06 PM, Akshay Srinivasan wrote: > Okay, I used hasattr instead. I should really stop using quick expedients :) > All the tests passed. > > >

Re: Symbols with lambdify

2010-06-03 Thread Ondrej Certik
On Thu, Jun 3, 2010 at 1:06 PM, Akshay Srinivasan wrote: > Okay, I used hasattr instead. I should really stop using quick expedients :) > All the tests passed. Looks good, it's in. -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to th

Re: Symbols with lambdify

2010-06-03 Thread Akshay Srinivasan
Okay, I used hasattr instead. I should really stop using quick expedients :) All the tests passed. On Jun 3, 11:54 pm, Ondrej Certik wrote: > On Thu, Jun 3, 2010 at 8:48 AM, Akshay Srinivasan > > wrote: > > This patch fixes issue #1656 > > This looks good to me. Only I would replace this: > >

Re: Symbols with lambdify

2010-06-03 Thread Ondrej Certik
On Thu, Jun 3, 2010 at 8:48 AM, Akshay Srinivasan wrote: > This patch fixes issue #1656 This looks good to me. Only I would replace this: +try: +#Try if you can extract symbols from the expression. +syms = expr.atoms() +for term in syms: +namespace.update(

Symbols with lambdify

2010-06-03 Thread Akshay Srinivasan
This patch fixes issue #1656 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For mor