forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sagemathgh-38490: prevent crash in order_from_multiple() due to round…
…ing error Due to what appears to be rounding errors, the value of `k` here can be zero, which results in the list `L` being split as `L1 == []` and `L2 == L`. This causes an error in the next recursive call. Simple workaround: If either `L1` or `L2` would end up being empty, we split the lists in the middle instead. Resolves sagemath#38489. URL: sagemath#38490 Reported by: Lorenz Panny Reviewer(s):
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=e162e0f52da5eca0c01ddf4831edcea1acd72033 | ||
sha256=2033521228294e134368d69457d6e582706e84ff10bf3d6d0a57a2a4afad0a8b | ||
sha1=7ae6149d44ba78586d234861a18856430f89c439 | ||
sha256=2417ae01c7f3ed65708a7fc937d9f2c4592252cbc35dceb3323445bd868bf8ee |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
b178c10a7401b381b8ed2daab5aaf026436452c9 | ||
95fb8c3284c490325ef1e116f3a038a3467f5086 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters