We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3efacc commit c3c0a63Copy full SHA for c3c0a63
1 file changed
sumpy/symbolic.py
@@ -308,9 +308,6 @@ def map_Mul(self, expr): # noqa: N802
308
if isinstance(child, Pow) and isinstance(child.exp, Integer) \
309
and child.exp < 0:
310
den_args.append(self.rec(child.base)**(-self.rec(child.exp)))
311
- elif isinstance(child, Rational) and not isinstance(child, Integer):
312
- num_args.append(self.rec(child.p))
313
- den_args.append(self.rec(child.q))
314
else:
315
num_args.append(self.rec(child))
316
0 commit comments