Comment #9 on issue 2237 by nicolas....@gmail.com: FockState wraps its arguments with tuple()
http://code.google.com/p/sympy/issues/detail?id=2237

"I'll send a pull request with a cleaned-up commit tonight or tomorrow."
Ok, thanks.

BTW, I had to change two docstrings:

_________________ sympy.physics.secondquant.FermionState.down __________________ File "/home/nicolas/Programmation/sympy/sympy/physics/secondquant.py", line 1265, in sympy.physics.secondquant.FermionState.down
Failed example:
    FKet([],4).down(i)
Expected:
    FockStateFermionKet((i,))
Got:
    FockStateFermionKet(Tuple(i))
________________________________________________________________________________
__________________ sympy.physics.secondquant.FermionState.up ___________________ File "/home/nicolas/Programmation/sympy/sympy/physics/secondquant.py", line 1213, in sympy.physics.secondquant.FermionState.up
Failed example:
    FKet([]).up(a)
Expected:
    FockStateFermionKet((a,))
Got:
    FockStateFermionKet(Tuple(a))

(But you may have done it already.)

--
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.

Reply via email to