Skip to content

Commit

Permalink
sage.tensor: More # optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Mar 11, 2023
1 parent 325f072 commit b74115f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/sage/tensor/modules/reflexive_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ def base_module(self):
sage: M.base_module() is M
True
sage: M = Manifold(2, 'M')
sage: XM = M.vector_field_module()
sage: XM.base_module() is XM
sage: M = Manifold(2, 'M') # optional - sage.symbolic
sage: XM = M.vector_field_module() # optional - sage.symbolic
sage: XM.base_module() is XM # optional - sage.symbolic
True
"""
return self
Expand All @@ -273,9 +273,9 @@ def tensor_type(self):
sage: M.tensor_type()
(1, 0)
sage: M = Manifold(2, 'M')
sage: XM = M.vector_field_module()
sage: XM.tensor_type()
sage: M = Manifold(2, 'M') # optional - sage.symbolic
sage: XM = M.vector_field_module() # optional - sage.symbolic
sage: XM.tensor_type() # optional - sage.symbolic
(1, 0)
"""
return (1, 0)
Expand Down

0 comments on commit b74115f

Please sign in to comment.