Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 385c4f9

Browse files
author
Michael Jung
committed
Trac #30112: doctest added
1 parent 0089c6e commit 385c4f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sage/manifolds/differentiable/scalarfield_algebra.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ def _coerce_map_from_(self, other):
406406
sage: CM = M.scalar_field_algebra()
407407
sage: CM._coerce_map_from_(SR)
408408
True
409+
sage: CM._coerce_map_from_(X.function_ring())
410+
True
409411
sage: U = M.open_subset('U', coord_def={X: x>0})
410412
sage: CU = U.scalar_field_algebra()
411413
sage: CM._coerce_map_from_(CU)

0 commit comments

Comments
 (0)