Skip to content

Commit

Permalink
fix: enforce that ant numbers are uint64
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Dec 6, 2023
1 parent c2f2c41 commit 96dccf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_cal/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ def write_vis(fname, data, lst_array, freq_array, antpos, time_array=None, flags
flag_array = flag_array.reshape(Nblts, 1, Nfreqs, Npols)

# configure baselines
antpairs = np.repeat(np.array(antpairs), Ntimes, axis=0)
antpairs = np.repeat(np.array(antpairs, dtype=np.uint64), Ntimes, axis=0)

# get ant_1_array, ant_2_array
ant_1_array = antpairs[:, 0]
Expand Down

0 comments on commit 96dccf3

Please sign in to comment.