Comment #6 on issue 2155 by asmeurer: lambdify() does not convert complex quantities properly with the "numpy" option
http://code.google.com/p/sympy/issues/detail?id=2155

I've got a fix for this coming.

I was right about the atoms thing. THis also cased a problem in issue 2545 (there it was pi instead of I).

Regarding automatic translation from I to 1j, it's not as easy as I said, because the translations are only designed to work from variable to variable, and numpy (unlike mpmath) does not have a default variable representing 1j.

So I've added in the functionality to define arbitrary default translations, with I => 1j for numpy included as the first default.

Pull request coming soon...

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to