We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5250e9c commit a9aca55Copy full SHA for a9aca55
1 file changed
tests/utils/test_dop.py
@@ -416,7 +416,7 @@ def test_singularity_dop(navdata):
416
# that the values are unrealistically large.
417
# Note: we use np.any() since we can get small values in the DOP matrix
418
for _, val in dop_dict.items():
419
- assert np.any(np.abs(val) > 1e6)
+ assert np.any(np.isnan(val)) or np.any(np.abs(val) > 1e6)
420
421
except np.linalg.LinAlgError:
422
# We expect a singularity error. If we get the singularity error, then
0 commit comments