Skip to content

Commit 6539b7e

Browse files
Possible fix to broken large tables reported by Alec -- switching to 64-bit indexing of variable length arrays.
1 parent 0a32dac commit 6539b7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

polspectra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def write_FITS(self,filename,overwrite=False):
456456
col_format=pf.column._convert_record2fits(tabcol.dtype)
457457
else: #Channelized columns
458458
subtype=np.result_type(np.array(tabcol[0])) #get the type of each element in 2D array
459-
col_format='P'+pf.column._convert_record2fits(subtype)+'()'
459+
col_format='Q'+pf.column._convert_record2fits(subtype)+'()'
460460
if tabcol.unit != None:
461461
unit=tabcol.unit.to_string()
462462
else:

0 commit comments

Comments
 (0)