Fail to detect BNS or BBH for non-array np.float64 inputs in computeDiskMass()
Fail to detect BNS or BBH for non-array np.float64 inputs in computeDiskMass()
if m1
, m2
, chi1
, chi2
are np.float64
instead of float
, type(BNS)
become np.bool_
instead of bool
and cannot be checked by if type(BNS) == bool: