Skip to content

Commit

Permalink
Fix 'Term.__init__' magic method
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Dec 30, 2022
1 parent ae4ef30 commit 30a02d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions symba/core/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def from_components(cls,
def __init__(self,
scale: FiniteNonZero,
argument: Expression) -> None:
from .form import Form
assert isinstance(argument, (FiniteNonZero, Form, Term)), argument
self.argument, self.scale = argument, scale

Expand Down

0 comments on commit 30a02d7

Please sign in to comment.