Closed parejkoj closed 5 months ago
Example error message from this change:
E AssertionError: variance planes differ: 191989 pixels failing np.allclose(), worst is: |0.5726712942123413 - 1.0| = 0.4273287057876587 > 0.010009999386966228 (rtol*abs(image2)+atol with rtol=1e-05, atol=0.01) at position (150, 154), and maximum absolute error: |0.5726712942123413 - 1.0| = 0.4273287057876587 at position (150, 154).
Just reporting the maximum absolute difference does not tell you where np.allclose() was failing, because it uses a relative+absolute comparison.