On Tuesday, January 31, 2012 3:40:02 PM UTC-5, Snark wrote: > > Hi, > > I was patching happily, when I was hit by this: > > sage -t --long "devel/sage-main/sage/rings/arith.py" > ********************************************************************** > File "/home/jpuydt/sage-4.8/devel/sage-main/sage/rings/arith.py", line > 3061: > sage: n(binomial(0.5r, 5),prec=53) > Expected: > 0.0273437500000000 > Got: > doctest:1172: DeprecationWarning: Substitution using function-call > syntax and unnamed arguments is deprecated and will be removed from a > future release of Sage; you can use named arguments instead, like > EXPR(x=..., y=...) > 0.0273437500000000 > I would like to point out that here we are most probably hitting the same gamma() bug as discussed elsewhere...
> which is pretty strange since when I type the same command in sage > itself, things work like a charm: > > sage: n(binomial(0.5r, 5),prec=53) > 0.0273437500000000 > > As you'll see, I get both a deprecation warning... and a different result! > > What am I missing? > > Snark on #sagemath > > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org