DLS, Week 2, Loss Function

Hi,
I have the error below and could not figure out. Please help. Thank you!

Please check that your code implements the math that was given in the instructions. E.g. are you sure you included the absolute value of the differences? Also check the order: the sum of the absolute values is not the same as the absolute value of the sum.

Got it. Thank you Paul!