Skip to content

Commit dbf44c5

Browse files
committed
Preserve cmpflg in __truediv__
1 parent 8ce4920 commit dbf44c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galgebra/mv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ def __truediv__(self, dopr):
21492149
raise TypeError('In Dop.__truediv__ dopr must be a sympy scalar.')
21502150
return Dop([
21512151
(coef / dopr, pdiff) for (coef, pdiff) in self.terms
2152-
], ga=self.Ga)
2152+
], ga=self.Ga, cmpflg=self.cmpflg)
21532153

21542154
if sys.version_info.major < 3:
21552155
__div__ = __truediv__

0 commit comments

Comments
 (0)