Issue_3221 solved

http://code.google.com/p/sympy/issues/detail?id=3221