C2 W1 Exercise 4 - Error in Seeded Line of Code

In Exercise 4, I am getting the following error for the last, seeded line:


NameError Traceback (most recent call last)
Cell In [2], line 14
10 ### END CODE HERE ###
12 return dLdOmega_array
—> 14 dLdOmega_array = dLdOmega_of_omega_array(omega_array)

NameError: name ‘omega_array’ is not defined

I have not modified the seeded code that was provided for that line. How can I resolve this?

In case anyone else runs into the same issue, I fixed it by doing “Kernel → Restart and Run All”