-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: SciPy 1.11.1 backports #18779
Merged
tylerjereddy
merged 8 commits into
scipy:maintenance/1.11.x
from
tylerjereddy:treddy_1_11_1_prep
Jun 28, 2023
Merged
MAINT: SciPy 1.11.1 backports #18779
tylerjereddy
merged 8 commits into
scipy:maintenance/1.11.x
from
tylerjereddy:treddy_1_11_1_prep
Jun 28, 2023
Commits on Jun 28, 2023
-
BUG: Fix work array construction for various weight shapes. (scipy#18741
) [skip ci] Closes scipygh-18739
Configuration menu - View commit details
-
Copy full SHA for 90415c6 - Browse repository at this point
Copy the full SHA 90415c6View commit details -
BUG: fix handling for
factorial(..., exact=False)
for 0-dim array i……nputs (scipy#18754) Also ensure `test_factorial{,2,k}_array_corner_cases` covers 0-dim. inputs correctly Unfortunately, `np.array` will ignore an explicit `ndim=0` request and happily give back a 1-dimensional result without complaint: ``` >>> np.array([1], ndmin=0, dtype=np.int64).ndim 1 ``` This invalidated the original assumptions for these tests. Additionally, we need to take care not to iterate over 0-dim arrays (but also keep the tests with two elements in `content` correct), that n.ravel().ndim == 1 even if n.ndim == 0, and that assert_equal will not distinguish scalars from 0-dim arrays with the same value.
Configuration menu - View commit details
-
Copy full SHA for 7ec5010 - Browse repository at this point
Copy the full SHA 7ec5010View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9ac3f3 - Browse repository at this point
Copy the full SHA d9ac3f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cdc2fe - Browse repository at this point
Copy the full SHA 5cdc2feView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1c6f99 - Browse repository at this point
Copy the full SHA a1c6f99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0760bab - Browse repository at this point
Copy the full SHA 0760babView commit details -
* Fixes scipy#18765 * the offending unuran source file was removed over at scipy/unuran#9, and this PR updates us to point to latest `main` version of submodule (caution: this pulls in a few more commits from `main` we didn't have in original `1.11.0` release) * as noted over there, the (SciPy) testsuite appears to pass just fine when this file is purged, likely because we have `HAVE_DECL_LOG1P` always set, since we require C99, and therefore unuran always uses the version from `math.h` instead of in-house anyway
Configuration menu - View commit details
-
Copy full SHA for 145cec5 - Browse repository at this point
Copy the full SHA 145cec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f942e8 - Browse repository at this point
Copy the full SHA 6f942e8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.