Skip to content

Commit d46c915

Browse files
keefemitmanmoble
andauthored
Update test_superrest_frame.py (#72)
Co-authored-by: user.email <michael.oliver.boyle@gmail.com>
1 parent bcb99ee commit d46c915

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Test and deploy
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
pull_request:
49

510
jobs:
611

tests/test_superrest_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_abd_kerr_superrest_frame():
3939
supertranslation=supertranslation, frame_rotation=frame_rotation, boost_velocity=boost_velocity
4040
)
4141

42-
_, abd_recovered = abd_prime.transformations_to_map_to_superrest_frame(padding_time=20)
42+
abd_recovered, _ = abd_prime.map_to_superrest_frame(padding_time=20)
4343

4444
PsiM = abd_recovered.supermomentum("Moreschi")[np.argmin(abs(abd_recovered.t))]
4545
PsiM[0:4] = 0

0 commit comments

Comments
 (0)