I’m running into an assertion error that prevents me from completing this assignment:
AssertionError Traceback (most recent call last)
in
** 6 expected_values = [0.2850931567761623, 1.1890913024229996e-07]**
** 7 assert not(type(difference) == np.ndarray), “You are not using np.linalg.norm for numerator or denominator”**
----> 8 assert np.any(np.isclose(difference, expected_values)), “Wrong value. It is not one of the expected values”
AssertionError: Wrong value. It is not one of the expected values
However, I’ve been looking at this error for a long time now and I still can’t figure what is going wrong. Nothing in my code suggests that I’ve made a miscalculation.