Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2183 by [email protected]: FockState doesn't like str()
http://code.google.com/p/sympy/issues/detail?id=2183

Trying to print FockState leads to an error:

    h[9] >>> FockState((x,y))
    FockState((x, y))
    h[9] >>> print _
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "sympy\physics\secondquant.py", line 1132, in __str__
        return "%s%r%s" % (self.lbracket,self._labels(),self.rbracket)
    AttributeError: 'FockState' object has no attribute 'lbracket'

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to