-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve adhoc arithmetic for UnivPoly, fix broken
coeff
method (#1877)
* Improve adhoc arithmetic for UnivPoly * Fix broken `coeff` method: If the asked for monomial contains vars that are not present in the data-parent, the whole coeff is clearly zero. This was not caught before, since the slow adhoc functions always re-created all elements with the current largest poly ring as data parent. --------- Co-authored-by: Lars Göttgens <[email protected]>
- Loading branch information
1 parent
129efd6
commit 814f22b
Showing
2 changed files
with
73 additions
and
45 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
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