Skip to content

Commit

Permalink
Merge pull request #18743 from tylerjereddy/treddy_1_11_0_arm_shims
Browse files Browse the repository at this point in the history
MAINT: more 1.11.0 backports
  • Loading branch information
tylerjereddy committed Jun 25, 2023
2 parents 7c317cb + 084357e commit 58c5d60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion doc/source/release/1.11.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ Authors
* Ilhan Polat (32)
* Quentin Barthélemy (1)
* Matteo Raso (12) +
* Tyler Reddy (134)
* Tyler Reddy (143)
* Lucas Roberts (1)
* Pamphile Roy (225)
* Jordan Rupprecht (1) +
Expand Down Expand Up @@ -657,6 +657,7 @@ Issues closed for 1.11.0
* `#18634 <https://github.com/scipy/scipy/issues/18634>`__: BUG: stats.truncnorm.moments yields error for moment order greater...
* `#18654 <https://github.com/scipy/scipy/issues/18654>`__: BUG: ci/circleci: build_scipy broken
* `#18675 <https://github.com/scipy/scipy/issues/18675>`__: BUG: \`signal.detrend\` on main no longer accepts a sequence...
* `#18732 <https://github.com/scipy/scipy/issues/18732>`__: TST, MAINT: some tests blocking 1.11.0 on MacOS ARM64 with NumPy...

************************
Pull requests for 1.11.0
Expand Down Expand Up @@ -1173,3 +1174,6 @@ Pull requests for 1.11.0
* `#18676 <https://github.com/scipy/scipy/pull/18676>`__: BUG: signal: fix detrend with array-like bp
* `#18697 <https://github.com/scipy/scipy/pull/18697>`__: MAINT: NumPy 1.25.0 shims for arm64
* `#18698 <https://github.com/scipy/scipy/pull/18698>`__: DEP: interpolate: delay interp2d deprecation and update link
* `#18724 <https://github.com/scipy/scipy/pull/18724>`__: MAINT, REL: prepare for SciPy 1.11.0 "final"
* `#18737 <https://github.com/scipy/scipy/pull/18737>`__: TST: flaky TestSOSFreqz::test_fs_param
* `#18738 <https://github.com/scipy/scipy/pull/18738>`__: TST: flaky \`test_complex_iir_dlti\`
2 changes: 1 addition & 1 deletion scipy/signal/tests/test_filter_design.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ def test_fs_param(self):
# N = None, whole=True
w1, h1 = sosfreqz(sos, whole=True, fs=fs)
w2, h2 = sosfreqz(sos, whole=True)
assert_allclose(h1, h2)
assert_allclose(h1, h2, atol=1e-27)
assert_allclose(w1, np.linspace(0, fs, 512, endpoint=False))

# N = 5, whole=False
Expand Down
2 changes: 1 addition & 1 deletion scipy/signal/tests/test_signaltools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,7 @@ def test_complex_iir_dlti(self):
yzpref = signal.filtfilt(*signal.zpk2tf(z, p, k),
u)[::2]

assert_equal(yzp, yzpref)
assert_allclose(yzp, yzpref, rtol=1e-10, atol=1e-13)

def test_complex_fir_dlti(self):
# centre frequency for filter [Hz]
Expand Down

0 comments on commit 58c5d60

Please sign in to comment.