-
-
Notifications
You must be signed in to change notification settings - Fork 659
Closed
Milestone
Description
Refactor IntegerMulAction
in preparation for #24247:
-
Add an abstract base class
IntegerAction
which will also be used to implementIntegerPowAction
in Implement __pow__ in the coercion model #24247. -
Add a new helper function
parent_is_integers
to check if some type/parent represents the integers. -
Instead of the hacks in
discover_action
andverify_action
involving an explicitIntegerMulAction
check, return anIntegerMulAction
for anything satisfyingparent_is_integers()
.
Component: coercion
Author: Jeroen Demeyer
Branch/Commit: a359862
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24467