Updates:
Status: Fixed
Labels: -NeedsReview PassedReview
Comment #6 on issue 2654 by asmeurer: lambdify() does not convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
This was merged.
--
You received this message because you are subscribed to the Google Groups
"s
Updates:
Labels: NeedsReview
Comment #5 on issue 2654 by asmeurer: lambdify() does not convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
I don't know why it wouldn't, because you can completely override the
built-in abs() with __abs__. Perhaps I'm missing something, o
Updates:
Status: Started
Comment #4 on issue 2654 by someb...@bluewin.ch: lambdify() does not
convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
The built-in abs(.) is not an ufunc. It works in principle/most of the
time. (I don't
know if it really works always. And
Comment #3 on issue 2654 by asmeurer: lambdify() does not convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
Does the built-in abs() not work correctly? That would have been what was
happening before.
--
You received this message because you are subscribed to the Google Grou
Comment #2 on issue 2654 by someb...@bluewin.ch: lambdify() does not
convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
It's not just adding a translation because the numpy abs ufunc is not
per default imported by
from numpy import *
we have to explicitely
from numpy import
Updates:
Status: Accepted
Labels: EasyToFix
Comment #1 on issue 2654 by asmeurer: lambdify() does not convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
This is really easy to fix. Just add a conversion at the top of the file.
--
You received this message becaus
Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 2654 by ha...@hagnet.net: lambdify() does not convert abs()
http://code.google.com/p/sympy/issues/detail?id=2654
from sympy import *
a=Symbol('a')
funk=1+abs(a)
l_funk=lambdify(a,funk,'numpy')
l_funk(1)
> NameError: glob