I also got this doctest failure: _______________________ sympy.physics.secondquant.Wicks ________________________ File "/home/ondrej/repos/sympy/sympy/physics/secondquant.py", line 2559, in sympy.physics.secondquant.Wicks Failed example: Wicks(Fd(p)*(F(q)+F(r)), keepOnlyFullyContracted=True) Expected: KroneckerDelta(_i, _r)*KroneckerDelta(_p, _r) + KroneckerDelta(_i, _q)*KroneckerDelta(_p, _q) Got: KroneckerDelta(_i, _q)*KroneckerDelta(_p, _q) + KroneckerDelta(_i, _r)*KroneckerDelta(_p, _r)
============= tests finished: 341 passed, 1 failed in 6.65 seconds ============= It has to do with the fact that ordering depends on the hash which is unfortunately platform dependent. Ondrej On Tue, Oct 13, 2009 at 9:21 PM, Ondrej Certik <ond...@certik.cz> wrote: > Hi Jensen! > > awesome, I am running tests etc. I noticed you use: > > simplifyIndexPermutations > > but in sympy we follow the python code style guidelines, so if you are > ok with that, I'll change those to simplify_index_permutations. > > I'll comment on the rest later. > > Ondrej > > On Tue, Oct 13, 2009 at 10:58 AM, jegerjensen <jensen.oyv...@gmail.com> wrote: >> >> I implemented lots of doctests, and pushed to my new github account: >> >> git://github.com/jegerjensen/sympy.git >> >> There is still some doctests missing, but I think all the important >> stuff is covered. >> >> Øyvind >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en -~----------~----~----~----~------~----~------~--~---