You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It currently isn't narrow enough to be able to be passed to e.g. scipy.optimize.minimize_scalar, which requires a (float64) -> float64 or (float) -> float callable. See scipy/scipy-stubs#465 (comment) for more details.
This requires knowing the dtype of the coefficients, so the polynomial classes should be made generic.
Activity
[-]narrow the `__call__` return type of the `numpy.polynomial` classes[/-][+]generic `numpy.polynomial` classes[/+]