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
Integrating over Gaussian Mix evaluates correctly but throws deprecation warning.
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
Steps to reproduce:
gaussian_mix = generate_gaussian_mix(2)
x = np.linspace(-5, 5, 100)
params = (0, 1, 0.6, 2, 1)
result = gaussian_mix(x, *params)
p = quad(gaussian_mix, -np.inf, np.inf, args = params)[0]
The text was updated successfully, but these errors were encountered:
Integrating over Gaussian Mix evaluates correctly but throws deprecation warning.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: