Skip to content

Fix ValueError from old numpy deprecation error

Charlie Hoy requested to merge numpy_deprecation into master

The purpose of this MR is to fix a ValueError found by @jonathan.thompson when trying to run pesummary.gw.conversions.convert with precessing_snr=True, error copied below:

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.

Merge request reports