Chacotay

Untitled

Mar 15th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. try:
  2. bilin[ii] = (1. / (2. + B)) * ( (2. - B)*bilin[ii - 1] + step[ii] + step[ii - 1] )
  3. err_text3 = ''
  4. except ZeroDivisionError, e:
  5. bilin[ii] = 0
  6. err_text3 = 'Division by Zero Error'
  7. except OverflowError:
  8. bilin[ii] = 0
  9. err_text3 = 'Stuff with Infinity'
Advertisement
Add Comment
Please, Sign In to add comment