# SciPy 1.9.3 Release Notes

SciPy 1.9.3 is a bug-fix release with no new features compared to 1.9.2.

## Authors

- Jelle Aalbers (1)

- Peter Bell (1)

- Jake Bowhay (3)

- Matthew Brett (3)

- Evgeni Burovski (5)

- drpeteb (1) +

- Sebastian Ehlert (1) +

- GavinZhang (1) +

- Ralf Gommers (2)

- Matt Haberland (15)

- Lakshaya Inani (1) +

- Joseph T. Iosue (1)

- Nathan Jacobi (1) +

- jmkuebler (1) +

- Nikita Karetnikov (1) +

- Lechnio (1) +

- Nicholas McKibben (1)

- Andrew Nelson (1)

- o-alexandre-felipe (1) +

- Tirth Patel (1)

- Tyler Reddy (51)

- Martin Reinecke (1)

- Marie Roald (1) +

- Pamphile Roy (2)

- Eli Schwartz (1)

- serge-sans-paille (1)

- ehsan shirvanian (1) +

- Mamoru TASAKA (1) +

- Samuel Wallan (1)

- Warren Weckesser (7)

- Gavin Zhang (1) +

A total of 31 people contributed to this release. People with a “+” by their names contributed a patch for the first time. This list of names is automatically generated, and may not be fully complete.

### Issues closed for 1.9.3

- #3691: scipy.interpolate.UnivariateSpline segfault

- #5286: BUG: multivariate_normal returns a pdf for values outside its…

- #6551: BUG: stats: inconsistency in docs and behavior of gmean and hmean

- #9245: running scipy.interpolate.tests.test_fitpack::test_bisplev_integer_overflow…

- #12471: test_bisplev_integer_overflow: Segmentation fault (core dumped)

- #13321: Bug: setting iprint=0 hides all output from fmin_l_bfgs_b, but…

- #13730: `scipy.stats.mood` does not correct for ties

- #14019: ks_2samp throws `RuntimeWarning: overflow encountered in double_scalars`

- #14589: `shgo` error since scipy 1.8.0.dev0+1529.803e52d

- #14591: Input data validation for RectSphereBivariateSpline

- #15101: BUG: binom.pmf - RuntimeWarning: divide by zero

- #15342: BUG: scipy.optimize.minimize: Powell’s method function evaluated…

- #15964: BUG: lombscargle fails if argument is a view

- #16211: BUG: Possible bug when using winsorize on pandas data instead…

- #16459: BUG: stats.ttest_ind returns wrong p-values with permutations

- #16500: odr.Model default meta value fails with __getattr__

- #16519: BUG: Error in error message for incorrect sample dimension in…

- #16527: BUG: dimension of isuppz in syevr is mistranslated

- #16600: BUG: `KDTree`’s optional argument `eps` seems to have no…

- #16656: dtype not preserved with operations on sparse arrays

- #16751: BUG: `stats.fit` on `boltzmann` expects `bound` for `lambda`,…

- #17012: BUG: Small oversight in sparse.linalg.lsmr?

- #17020: BUG: Build failure due to problems with shebang line in cythoner.py

- #17088: BUG: stats.rayleigh.fit: returns `loc` that is inconsistent…

- #17104: BUG? Incorrect branch in `LAMV` / `_specfunc.lamv`

- #17196: DOC: keepdims in stats.mode is incorrectly documented

### Pull requests for 1.9.3

- #5288: BUG: multivariate_normal returns a pdf for values outside its…

- #13322: Bug: setting iprint=0 hides all output from fmin_l_bfgs_b, but…

- #13349: BUG: stats: Reformulate loggamma._rvs to handle c << 1.

- #13411: BUG: fix out-of-bound evaluations in optimize.minimize, powell…

- #15363: BUG: fix powell evaluated outside limits

- #15381: BUG: fix stats.rv_histogram for non-uniform bins

- #16212: stats.mood: correct for when ties are present

- #16288: BUG: fix a crash in `fpknot`

- #16318: MAINT: stats: fix _contains_nan on Pandas Series

- #16460: Fix ttest permutations

- #16506: MAINT: fix SHGO extra arguments

- #16521: BUG: Fix error in error message for incorrect sample dimension…

- #16525: MAINT: stats.ks_2samp: always emit warning when exact method…

- #16528: BUG: fix syevr series segfault by explicitly specifying operator…

- #16562: BUG: optimize: Fix differential_evolution error message.

- #16573: FIX: `odr.Model` error with default `meta` value

- #16588: FIX: stats: ignore divide-by-zero warnings from Boost binom impl

- #16590: MAINT: stats.vonmises: wrap rvs to -pi, pi interval

- #16630: BUG: eps param no effect fixed

- #16645: MAINT: Ensure Pythran input for lombscargle are contiguous

- #16649: Detect integer overflow in bivariate splines in fitpackmodule.c,…

- #16657: BUG: sparse: Fix indexing sparse matrix with empty index arguments.

- #16669: FIX: spurious divide error with `gmean`

- #16701: BUG: fix mutable data types as default arguments in `ord.{Data,RealData}`

- #16752: MAINT: stats.boltzmann: correct _shape_info typo

- #16780: BUG: interpolate: sanity check x and y in make_interp_spline(x,…

- #16836: MAINT: avoid `func_data`, it conflicts with system header on…

- #16872: BUG: interpolate: work array sizes for RectSphereBivariateSpline

- #16965: BUG: linalg: Fix the XSLOW test test_sgesdd_lwork_bug_workaround()

- #17043: MAINT: fix small LSMR problem

- #17090: MAINT: stats.rayleigh: enforce constraint on location

- #17105: FIX: special: use intended branching for `lamv` implementation

- #17166: MAINT: stats.rv_discrete.pmf: should be zero at non-integer argument

- #17176: REL: Prep for SciPy 1.9.3

- #17190: BUG: special: Fix two XSLOW test failures.

- #17193: MAINT: update meson.build to make it work on IBM i system

- #17200: BLD: fix issue with incomplete threads dependency handling

- #17204: Keepdims incorrectly documneted fix

- #17209: MAINT: Handle numpy’s deprecation of accepting out-of-bound integers.

- #17210: BLD: fix invalid shebang for build helper script