Opened 6 months ago

Last modified 6 months ago

#30228 closed enhancement

Declare Sections with Name only — at Version 1

Reported by: gh-mjungmath Owned by:
Priority: major Milestone: sage-9.2
Component: manifolds Keywords:
Cc: egourgoulhon, tscrim Merged in:
Authors: Michael Jung Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by gh-mjungmath)

At this stage we have the following difference:

sage: M = Manifold(2, 'M', start_index=1)                  
....: X.<x,y> = M.chart()                            
....: E = M.vector_bundle(2, 'E')      
....: e = E.local_frame('e')      
....: v = M.vector_field('v')      
....: s = E.section('s')
Traceback (most recent call last)
IndexError: string index out of range

This simply comes from the fact that the method section does not like pure strings as input, in contrast to vector_field or tensor.

Change History (1)

comment:1 Changed 6 months ago by gh-mjungmath

  • Description modified (diff)
Note: See TracTickets for help on using tickets.