Skip to content

Commit ec6e145

Browse files
committed
Revert "Update src/sage/calculus/calculus.py"
This reverts commit 182ece1.
1 parent 182ece1 commit ec6e145

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/calculus/calculus.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,9 @@ def limit(ex, *args, dir=None, taylor=False, algorithm='maxima', **kwargs):
16431643
else:
16441644
raise ValueError("Unknown algorithm: %s" % effective_algorithm)
16451645

1646-
return ex.parent()(l)
1646+
original_parent = ex.parent()
1647+
1648+
return original_parent(l)
16471649

16481650
# lim is alias for limit
16491651
lim = limit

0 commit comments

Comments
 (0)