Skip to content

Commit

Permalink
Merge pull request #13573 from tylerjereddy/treddy_backport_161_round2
Browse files Browse the repository at this point in the history
MAINT: more 1.6.1 backporting
  • Loading branch information
tylerjereddy committed Feb 16, 2021
2 parents c8c36d7 + 1ef9df9 commit 5ab7426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion doc/release/1.6.1-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Issues closed for 1.6.1
* `#13465 <https://github.com/scipy/scipy/issues/13465>`__: KDTree.count_neighbors : 0xC0000005 error for tuple of different...
* `#13468 <https://github.com/scipy/scipy/issues/13468>`__: directed_hausdorff issue with shuffle
* `#13472 <https://github.com/scipy/scipy/issues/13472>`__: Failures on FutureWarnings with numpy 1.20.0 for lfilter, sosfilt...
* `#13565 <https://github.com/scipy/scipy/issues/13565>`__: BUG: 32-bit wheels repo test failure in optimize

Pull requests for 1.6.1
-----------------------
Expand All @@ -69,4 +70,5 @@ Pull requests for 1.6.1
* `#13485 <https://github.com/scipy/scipy/pull/13485>`__: BUG: KDTree weighted count_neighbors doesn't work between two...
* `#13503 <https://github.com/scipy/scipy/pull/13503>`__: TST: fix \`test_fortranfile_read_mixed_record\` on big-endian...
* `#13518 <https://github.com/scipy/scipy/pull/13518>`__: DOC: document that pip >= 20.3.3 is needed for macOS 11
* `#13520 <https://github.com/scipy/scipy/pull/13520>`__: BLD: use oldest-supported-numpy in pyproject.toml
* `#13520 <https://github.com/scipy/scipy/pull/13520>`__: BLD: update reqs based on oldest-supported-numpy in pyproject.toml
* `#13567 <https://github.com/scipy/scipy/pull/13567>`__: TST, BUG: adjust tol on test_equivalence
3 changes: 2 additions & 1 deletion scipy/optimize/tests/test__numdiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,8 @@ def test_equivalence(self):
J_dense = approx_derivative(self.fun, self.x0, method=method)
J_sparse = approx_derivative(
self.fun, self.x0, sparsity=(structure, groups), method=method)
assert_equal(J_dense, J_sparse.toarray())
assert_allclose(J_dense, J_sparse.toarray(),
rtol=5e-16, atol=7e-15)

def test_check_derivative(self):
def jac(x):
Expand Down

0 comments on commit 5ab7426

Please sign in to comment.