Fix(MO): Redefine strpower method of MOMonomial for deg 1 case
This commit is contained in:
parent
1be3b35e1b
commit
6edf4fe5b4
@ -139,6 +139,8 @@ class MOMonomial(MO):
|
||||
|
||||
@property
|
||||
def strpower(self):
|
||||
if self._power == 1:
|
||||
return self.variable
|
||||
return MOstrPower(self._variable, self._power)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user