Course 2, Week 1, Gradient Checking syntax error

I am getting this syntax error when trying to run gradient_check_n. I used the same steps to compute J_plus[i], which seems to be working fine. So I am not sure what the problem could be.

1 Like

Fixed by @TheLonelyChemE.

Just a problem of unbalanced parentheses.

Good luck with the rest of the assignment :slight_smile:

Hi, I am facing the same issue ( J_plus[i] is fine), and I have tried rewriting and debugging on my own, now I am exhausted, please help…

I got it, I had parenthesis missing (but not in this line)

1 Like