Advertisement
Guest User

Untitled

a guest
Sep 29th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. Traceback (most recent call last):
  2. [[1.0, 2.0], [5.0, 6.0], [9.0, 10.0]]
  3.   File "C:/Users/simpl/PycharmProjects/csc340/mainPart.py", line 54, in <module>
  4. [[0, 0], [0, 0], [0, 0]]
  5.     one.readFile()
  6. 0
  7. 1
  8.   File "C:/Users/simpl/PycharmProjects/csc340/mainPart.py", line 38, in readFile
  9.     testing = one.multiply(two)
  10.   File "C:\Users\simpl\PycharmProjects\csc340\Matrix1.py", line 27, in multiply
  11.     result[i][j] += self.data[i][k] * other.data[k][j]
  12. IndexError: list index out of range
  13.  
  14. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement