Changes between Initial Version and Version 1 of Ticket #30291


Ignore:
Timestamp:
08/05/20 11:38:11 (4 months ago)
Author:
gh-mjungmath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30291

    • Property Cc egourgoulhon tscrim added
    • Property Authors changed from to Michael Jung
    • Property Type changed from PLEASE CHANGE to enhancement
    • Property Summary changed from try-except block in display method to Scalar Field Arithmetics: Trivial Cases
  • Ticket #30291 – Description

    initial v1  
     1Since #30191 is merged, #30239 causes a doctest error:
     2
     3{{{
     4File "src/sage/manifolds/differentiable/vectorframe.py", line 160, in sage.manifolds.differentiable.vectorframe
     5Failed example:
     6    f[1](e[1]) # the 1-form e^1 applied to the vector field e_1
     7Expected:
     8    Scalar field e^1(e_1) on the 3-dimensional differentiable manifold M
     9Got:
     10    Scalar field 1*1 on the 3-dimensional differentiable manifold M
     11}}}
     12
     13Much more aesthetic would be a one scalar field right away. I added some trivial checks. This should also improve performance when zero and one scalar fields are involved.
     14
     15I get the feeling, we already had this discussion and this should've been done already...