From 9c1cc48ff9fbfd789b5031c772a40b5bb413f9d8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 23 Feb 2023 20:37:16 +0100 Subject: doublenull: shorten names Breaks compatibility. --- test/test_doublenull.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/test_doublenull.py b/test/test_doublenull.py index e50003e..a61af33 100644 --- a/test/test_doublenull.py +++ b/test/test_doublenull.py @@ -15,9 +15,9 @@ class TestDoubleNull(TestCase): self.data = np.load(datafile) def test_null_curves(self): - rays = doublenull.calc_null_curves(self.data['t'], self.data['x'], - self.data['gxx'], np.zeros_like(self.data['gxx']), - -(self.data['alpha'] ** 2)) + rays = doublenull.null_curves(self.data['t'], self.data['x'], + self.data['gxx'], np.zeros_like(self.data['gxx']), + -(self.data['alpha'] ** 2)) assert_allclose(rays[0], self.data['ray_times'], 1e-12) assert_allclose(rays[1], self.data['rays_pos'], 1e-12) @@ -29,8 +29,8 @@ class TestDoubleNull(TestCase): gxx = self.data['gxx'] uv = 0.5 * array_utils.array_reflect(invars.dist_proper(x[idx:], gxx[0, idx:]), -1) - coords = doublenull.calc_null_coordinates(self.data['t'], x, uv, uv, - gxx, np.zeros_like(gxx), - -(self.data['alpha'] ** 2)) + coords = doublenull.null_coordinates(self.data['t'], x, uv, uv, + gxx, np.zeros_like(gxx), + -(self.data['alpha'] ** 2)) assert_allclose(coords[0], self.data['uxt'], 1e-12) assert_allclose(coords[1], self.data['vxt'], 1e-12) -- cgit v1.2.3