Getting error in Gaussian elimination exercise

I am not understanding why I am getting this error in Gaussian elimination exercise:
An exception was thrown while running your function: Last 2 dimensions of the array must be square.
Input matrix:
{‘A’: array([[-9, -1, -5],
[-9, -9, -8],
[ 0, -3, -8]]), ‘B’: array([[1],
[4],
[8]])}

Hello, @Shivay_bh .

Although I am not the mentor of this course, I am available to assist with the mathematical part or even with the Python syntax. I noticed that you are working with Gaussian elimination, but could you detail how you are proceeding? Which operations did you perform that led to this error?

Hi @Shivay_bh

This error happens when the shape of the input arrays does not meet the requirements for the operation. Make sure to use correct indices and apply operations in a way that preserves the dimensions of the matrices. (try debugging your code)

If you’re still encountering issues, please send the code to me in a private message, and we can work together to fix it. (You cannot share the code here)