numpy.linalg.det
is rasing some warning I dont understand. this does not happen every time, but it is raised with my example code below.
warning: "RuntimeWarning: invalid value encountered in det r = _umath_linalg.det(a, signature=signature)
matrix = np.array([[1, 1, 1], [3, 3, 3], [4, 4, 4]])
a = np.linalg.det(matrix)
print(a)
I have searched around, but didn't find a whole lot. This post talks about overflow problems from a large matrix, but I doubt that is the problem here.