Issue 2057 in sympy: Units do not work together with evalf?

2010-09-16 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2057 by asteppke: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 Hi everybody, while working with the sympy.physics module an issue with the units appeared. I hope I am using the

Re: Issue 2057 in sympy: Units do not work together with evalf?

2011-11-13 Thread sympy
Comment #4 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 The other option is to do the subs before evalf is requested: >>> g.subs(v, 1).evalf() 3.33564095198152e-9*s/m -- You received this message becau

Re: Issue 2057 in sympy: Units do not work together with evalf?

2011-11-16 Thread sympy
Updates: Labels: Matching Comment #5 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 2057 in sympy: Units do not work together with evalf?

2012-02-09 Thread sympy
Comment #6 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 The precision of the Floats in the dictionary can be changed before each iterative evaluation attempt. Because of automatic evaluation, substitution of

Re: Issue 2057 in sympy: Units do not work together with evalf?

2012-03-16 Thread sympy
Updates: Labels: Evalf Comment #7 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sy

Re: Issue 2057 in sympy: Units do not work together with evalf?

2013-04-18 Thread sympy
Comment #9 on issue 2057 by smi...@gmail.com: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 A workaround for this (which is similar to issue 1583) is v/u.c v*s/(299792458*m) nfloat(_.subs(v, 10)) 3.33564095198152e-8*s/m -- You received this

Re: Issue 2057 in sympy: Units do not work together with evalf?

2010-09-16 Thread sympy
Updates: Status: Accepted Comment #1 on issue 2057 by asmeurer: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 That is definitely a bug; it should just work. I am guessing that the reason that evalf has a subs keyword argument is that it is

Re: Issue 2057 in sympy: Units do not work together with evalf?

2010-09-17 Thread sympy
Updates: Labels: NeedsReview smichr Comment #2 on issue 2057 by smichr: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 I don't see any reason not to do the subs up front. The subs are finally tried after other failures. With the patch of 205

Re: Issue 2057 in sympy: Units do not work together with evalf?

2010-09-17 Thread sympy
Updates: Cc: fredrik.johansson Labels: -NeedsReview -smichr NeedsBetterPatch Comment #3 on issue 2057 by asmeurer: Units do not work together with evalf? http://code.google.com/p/sympy/issues/detail?id=2057 I am pretty sure there is a good reason for passing the substitution to