You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this stage we have the following difference between sections and tensor fields:
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.
Activity
mjungmath commentedon Jul 26, 2020
mjungmath commentedon Jul 26, 2020
Branch: u/gh-mjungmath/declare_sections_with_name_only
mjungmath commentedon Jul 26, 2020
Commit:
490d38dmjungmath commentedon Jul 26, 2020
New commits:
490d38dTrac #30228: init comp with stringmjungmath commentedon Jul 26, 2020
sagetrac-git commentedon Jul 26, 2020
Branch pushed to git repo; I updated commit sha1. New commits:
78692a6Trac #30228: misleading comment correctedsagetrac-git commentedon Jul 26, 2020
Changed commit from
490d38dto78692a6tscrim commentedon Jul 27, 2020
LGTM.
tscrim commentedon Jul 27, 2020
Reviewer: Travis Scrimshaw
vbraun commentedon Aug 2, 2020
Changed branch from u/gh-mjungmath/declare_sections_with_name_only to
78692a6