Skip to content

Commit 5250e9c

Browse files
committed
Debugging the MacOS case
1 parent 25e97f8 commit 5250e9c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/utils/test_dop.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,21 @@ def test_singularity_dop(navdata):
395395
# Run the DOP calculation
396396
dop_dict = calculate_dop(navdata)
397397

398+
print("DOP dict")
399+
print(dop_dict)
400+
398401
# Check the DOP output has all the expected keys
399402
assert dop_dict.keys() == {'dop_matrix',
400403
'GDOP', 'HDOP', 'VDOP', 'PDOP', 'TDOP'}
401404

402405
try:
403406
enut_matrix = _calculate_enut_matrix(navdata)
404-
np.linalg.inv(enut_matrix.T @ enut_matrix)
407+
print("ENUT matrix")
408+
print(enut_matrix)
409+
410+
dop_manual = np.linalg.inv(enut_matrix.T @ enut_matrix)
411+
print("DOP manual")
412+
print(dop_manual)
405413

406414
# If we get here, then we did not get a singularity error
407415
# This is possible due to floating point errors, so we will check

0 commit comments

Comments
 (0)