Skip to content

Commit

Permalink
fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Jun 26, 2023
1 parent 884bae4 commit d4845e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyuvdata/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ def test_astrometry_icrs_to_app(astrometry_args, use_extra):
for key in extra_args:
kwargs[key] = astrometry_args[key]
else:
# don't compre to precalc if not using extra arguments
# don't compare to precalc if not using extra arguments
coord_results = coord_results[:-1]

for idx, name in enumerate(astrometry_list):
Expand Down
4 changes: 2 additions & 2 deletions pyuvdata/uvbeam/uvbeam.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,8 +1283,8 @@ def efield_to_power(

if calc_cross_pols:
# Sometimes the auto pol beams can have a small complex part due to
# numerical precision errors. Fix that (with warnings if it's larger than
# the tolerances).
# numerical precision errors. Fix that (with warnings if the complex part
# is larger than the tolerances).
beam_object._check_auto_power(
fix_auto_power=True, warn_tols=beam_object._data_array.tols
)
Expand Down

0 comments on commit d4845e3

Please sign in to comment.