Ticket #1645 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[with patch, with positive review] erf doesn't evaluate with intervals

Reported by: schilly Owned by: jkantor
Priority: major Milestone: sage-2.9.2
Component: numerical Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

This should either raise an error or give a result:

a = RealInterval('2.3')
erf(a)


CPU is at about 0%, so it is doing nothing.


maybe there are other unsupported functions, should be checked out!

Attachments

trac-1645.patch Download (2.1 KB) - added by was 5 years ago.

Change History

comment:1 Changed 5 years ago by mabshoff

  • Milestone set to sage-2.9.2

Changed 5 years ago by was

comment:2 Changed 5 years ago by was

This actually has nothing to do with erf really -- it's that converting a real interval to Maxima (or any other system) should raise a TypeError?, but doesn't.

Of course, erf could be implemented for intervals, but that's not done yet; that would be an enhancement not a bug.

comment:3 Changed 5 years ago by mabshoff

  • Summary changed from erf doesn't evaluate with intervals to [with patch, needs review] erf doesn't evaluate with intervals

comment:4 Changed 5 years ago by cwitty

  • Status changed from new to closed
  • Summary changed from [with patch, needs review] erf doesn't evaluate with intervals to [with patch, with positive review] erf doesn't evaluate with intervals
  • Resolution set to fixed
  • Milestone changed from sage-2.10 to sage-2.9.2

Looks good to me; and this patch was already applied in 2.9.2.

Note: See TracTickets for help on using tickets.