From 8d204ea4452016726415dc4b5dad8cdd5b1708f4 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 28 Sep 2020 16:17:43 +0200 Subject: [PATCH] [skip ci] small simplification --- python/tests/test_Rotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_Rotation.py b/python/tests/test_Rotation.py index 1ddb59746..d70d650a0 100644 --- a/python/tests/test_Rotation.py +++ b/python/tests/test_Rotation.py @@ -967,7 +967,7 @@ class TestRotation: def test_ODF_node(self,reference_dir,degrees,N): steps = np.array([144,36,36]) limits = np.array([360.,90.,90.]) - rng = tuple(zip(np.zeros(3)-limits/steps*.5,limits-limits/steps*.5)) + rng = tuple(zip(-limits/steps*.5,limits-limits/steps*.5)) weights = Table.load(reference_dir/'ODF_experimental.txt').get('intensity') weights = weights.reshape(steps+1,order='F')[:-1,:-1,:-1].reshape(-1,order='F')