GitHub is down, so I am reporting here for now:

It returns 0 for the following function, even though we can verify the
(correct) answer using .n(), that it is nonzero:

In [123]: hyper((-6, -7, -5), (-6, -6), 1)
Out[123]:
 ┌─  ⎛-6, -7, -5 │  ⎞
 ├─  ⎜           │ 1⎟
3╵ 2 ⎝  -6, -6   │  ⎠

In [124]: hyperexpand(hyper((-6, -7, -5), (-6, -6), 1))
Out[124]: 0

In [125]: hyper((-6, -7, -5), (-6, -6), 1).n()
Out[125]: -0.166666666666667


In some other cases it works:

In [128]: hyperexpand(hyper((-5, -3, -4), (-6, -6), 1))
Out[128]: 1/30

In [129]: hyper((-5, -3, -4), (-6, -6), 1).n()
Out[129]: 0.0333333333333333


Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CADDwiVCDaJ%3Deo__%2BqCC1fAoqBuhUuprvVYE5yb83d9Z1LgEvfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to