Changes between Version 2 and Version 3 of Ticket #30289, comment 3


Ignore:
Timestamp:
08/05/20 07:48:41 (4 months ago)
Author:
gh-mjungmath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30289, comment 3

    v2 v3  
    1 Nevertheless, the error message is somewhat strange:
     1Ah okay, it's the variable `coords2`. The bug can be fixed very quickly.
    22
    3 {{{
    4 sage: R.<t> = RealLine()
    5 sage: I = R.open_interval(0, 2*pi)
    6 sage: J = R.open_interval(2*pi, 6*pi)
    7 sage: h = J.continuous_map(I, ((t-2*pi)/2,), name='h')
    8 sage: c_I = I.atlas()[0]
    9 sage: c_J = J.atlas()[0]
    10 sage: coord_func = h.coord_functions(c_J, c_I)
    11 sage: expression = coord_func.expr()
    12 sage: type(expression)
    13 <class 'tuple'>
    14 }}}
    15 
    16 The variable `expression` should be a tuple and hence be subscriptable.
     3My other points still stand for discussion. :)