C1W2 Gaussian Elimination Exercise 2

why I got this error? this happen when I run the test for exercise 2
“An exception was thrown while running your function: index 7 is out of bounds for axis 0 with size 3.
Input matrix:
[[1 0 0 5]
[0 1 0 6]
[0 0 1 7]]”

Apparently your code has an indexing error.

yeah, maybe the cause is I put the parameters of get_index_first_non_zero_value_from_row() function wrong, can you give me any clue of what the parameters is?

I recommend you use the Forum search tool, there is another thread active on this same topic.