Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-10-10 Thread sympy
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

Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-09-20 Thread sympy
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

Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-09-19 Thread sympy
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

Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-09-16 Thread sympy
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

Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-09-15 Thread sympy
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

Re: Issue 2654 in sympy: lambdify() does not convert abs()

2011-08-27 Thread sympy
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

Issue 2654 in sympy: lambdify() does not convert abs()

2011-08-26 Thread sympy
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