[PATCH] Fix for Issue 1920: Now SymTuple.func(*SymTuple.args) work as expected.

2010-04-29 Thread Øyvind Jensen
Added a test and fixed some related whitespace errors. --- sympy/physics/secondquant.py| 20 +--- sympy/physics/tests/test_secondquant.py |9 + 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/sympy/physics/secondquant.py

Re: [PATCH] Fix for Issue 1920: Now SymTuple.func(*SymTuple.args) work as expected.

2010-04-29 Thread Ondrej Certik
Well, I am not sure that the change from: -assert st == SymTuple((1,2,3,4)) to: +assert st == SymTuple(1, 2, 3, 4) is a good idea. In fact I think it's a bad idea, as we migrated from Matrix(1,2, 3, 4) syntax to Matrix([1, 2, 3, 4]). Also imho you want to be able to do