Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. TypeError Traceback (most recent call last)
  3. <ipython-input-11-d4f77a7d88d7> in <module>()
  4. ----> 1 d.cdf(Integer(10) - sqrt(Integer(20)))
  5.  
  6. /home/mmeh/sage/local/lib/python2.7/site-packages/scipy/stats/distributions.pyc in cdf(self, x)
  7. 434
  8. 435 def cdf(self, x):
  9. --> 436 return self.dist.cdf(x, *self.args, **self.kwds)
  10. 437
  11. 438 def logcdf(self, x):
  12.  
  13. /home/mmeh/sage/local/lib/python2.7/site-packages/scipy/stats/distributions.pyc in cdf(self, x, *args, **kwds)
  14. 1292 x = (x-loc)*1.0/scale
  15. 1293 cond0 = self._argcheck(*args) & (scale > 0)
  16. -> 1294 cond1 = (scale > 0) & (x > self.a) & (x < self.b)
  17. 1295 cond2 = (x >= self.b) & cond0
  18. 1296 cond = cond0 & cond1
  19.  
  20. TypeError: unsupported operand type(s) for &: 'bool' and 'sage.symbolic.expression.Expression'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement