Skip to content

Commit

Permalink
use type=object for inhomogenous array
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlueter committed Mar 4, 2024
1 parent 7fed0a3 commit 7a07b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radiotools/atmosphere/refractivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def get_cached_table_curved_atmosphere(self):
self._distances.append(distances)
self._refractivity_integrated_table.append(refractivity_integrated_table)

self._distances = np.array(self._distances)
self._refractivity_integrated_table = np.array(self._refractivity_integrated_table)
self._distances = np.array(self._distances, dtype=object)
self._refractivity_integrated_table = np.array(self._refractivity_integrated_table, dtype=object)

data = {"refractivity_integrated_table": self._refractivity_integrated_table,
"distance_increment": self._distance_increment,
Expand Down

0 comments on commit 7a07b6e

Please sign in to comment.