Skip to content

Error in display of a continuous map between open intervals #30289

@tscrim

Description

@tscrim

Define a continuous map between two intervals:

sage: R.<t> = RealLine()
sage: I = R.open_interval(0, 2*pi)
sage: J = R.open_interval(2*pi, 6*pi)
sage: h = J.continuous_map(I, ((t-2*pi)/2,), name='h')

Before this ticket, it displays incorrectly:

sage: h.display()
h: (2*pi, 6*pi) --> (0, 2*pi)
   t |-->

After this ticket, it displays correctly:

sage: h.display()
h: (2*pi, 6*pi) --> (0, 2*pi)
   t |--> t = -pi + 1/2*t

CC: @egourgoulhon @mjungmath @slel

Component: manifolds

Keywords: equation display

Author: Michael Jung

Branch/Commit: be7a363

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/30289

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions