You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #19428, I came across the following error
>>>fromsympy.statsimport*>>>fromsympyimportsymbols, S, Eq, Sum>>>B=BernoulliProcess('B', S(1)/2, 1, -1)
>>>t=symbols('t', positive=True, integer=True)
>>>expr=Sum(B[t], (t,0,5))
>>>exprSum(B[t], (t, 0, 5))
>>>expr.doit() # this should not consider B[t] equal in all the cases as it is random variable6*B[t] # incorrect result
Expected behaviour, it should produce: B[0] + B[1] + B[2] + B[3] + B[4] + B[5]
The text was updated successfully, but these errors were encountered:
While working on #19428, I came across the following error
Expected behaviour, it should produce:
B[0] + B[1] + B[2] + B[3] + B[4] + B[5]
The text was updated successfully, but these errors were encountered: