I ended up employing the following fix: https://github.com/asmeurer/sympy/commit/f44195cca3a8cf216c1421532599386702afd704
Which basically just does array([3, 8, -1])**S(5.5) instead. Aaron Meurer On Fri, Jun 10, 2011 at 9:48 PM, Aaron S. Meurer <[email protected]> wrote: > If you have numpy installed, then you will get the following > > sympy/test_external/test_numpy.py[20] Warning: invalid value encountered in > power > .................... [OK] > > This is because the test tests > > array([3, 8, -1])**5.5 > > and the -1**5.5 gives that error. Can this be changed to not use -1? Why do > we even test array**int, which doesn't use sympy at all. If you change it to > use S(5.5) no warning is generated, and it produces -1.0*I in the last entry. > I don't know much about numpy or this test, so I didn't want to change > anything, but we need to get rid of that warning in the tests. > > This is from line 52 of sympy/test_external/test_numpy.py > > Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
