Fixed


On Thu, Feb 21, 2013 at 9:59 AM, Christopher Smith <notifications@github.com
> wrote:

> In sympy/stats/rv.py:
>
> > @@ -165,10 +166,28 @@ class SinglePSpace(PSpace):
> >      Represents the probabilities of a set of random events that can be
> >      attributed to a single variable/symbol.
> >      """
> > +    def __new__(cls, symbol, distribution):
> > +        if isinstance(symbol, str):
> > +            symbol = Symbol(symbol)
> > +        if not isinstance(symbol, Symbol):
> > +            raise TypeError("symbol should have been string or symbol")
>
> perhaps the second 'symbol' should be 'Symbol'
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sympy/sympy/pull/1806/files#r3102925>.
>
>