Guest User

Untitled

a guest
Oct 15th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. coeff1 = system[i].normal_vector.coordinates[i]
  2. coeff2 = system[m].normal_vector.coordinates[i]
  3. x = coeff2/coeff1
  4. print(type(coeffx))
  5. system.xrow_add_to_row(x,i,m)
  6.  
  7. system.xrow_add_to_row(-x,i,m)
  8.  
  9. <ipython-input-11-ce84b250bafa> in compute_triangular_form(self)
  10. 93 coeff1 = system[i].normal_vector.coordinates[i]
  11. 94 coeff2 = system[m].normal_vector.coordinates[i]
  12. ---> 95 x = coeff2/coeff1
  13. 96 print(type(coeff1))
  14. 97 system.xrow_add_to_row(-x,i,m)
  15.  
  16. InvalidOperation: [<class 'decimal.DivisionUndefined'>]
Add Comment
Please, Sign In to add comment