You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftest_cart_cyl_transform():
"""Tests if transformation between cartesian and cylindrical coordinates are consistent."""original_cartesian=np.abs(np.random.RandomState(1).rand(3))
converted_cartesian=ac.cylToCart(ac.cartToCyl(original_cartesian))
np.testing.assert_allclose(converted_cartesian, original_cartesian)
Fails with output:
E Mismatched elements: 2 / 3 (66.7%)
E Max absolute difference: 0.30330249
E Max relative difference: 0.72730572
E x: array([7.203245e-01, 4.170220e-01, 1.143748e-04])
E y: array([4.170220e-01, 7.203245e-01, 1.143748e-04])
The text was updated successfully, but these errors were encountered:
Consider the following simple test in #377
Fails with output:
The text was updated successfully, but these errors were encountered: