Opened 11 years ago

Closed 11 years ago

#5944 closed defect (fixed)

[with patch, positive review] fix a nasty pynac bug in exp

Reported by: was Owned by: burcin
Priority: major Milestone: sage-4.0
Component: calculus Keywords:
Cc: mhansen Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: t = var('t', ns=1)
sage: a = (-2*t).exp(); a
e^(-2*t)
sage: b = (-t).exp(); b
e^(-t)
sage: a - b
0
sage: a
e^(-t)
sage: b
e^(-t)

Attachments (1)

trac_5944-doctest.patch (550 bytes) - added by burcin 11 years ago.
add doctests for the fix

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by burcin

add doctests for the fix

comment:1 Changed 11 years ago by burcin

  • Cc mhansen added
  • Status changed from new to assigned
  • Summary changed from fix a nasty pynac bug in exp to [with patch, needs review] fix a nasty pynac bug in exp

The package for pynac 0.1.6 at #5777 has a fix for this. Attached patch adds doctests.

comment:2 Changed 11 years ago by mabshoff

  • Summary changed from [with patch, needs review] fix a nasty pynac bug in exp to [with patch, positive review] fix a nasty pynac bug in exp

Positive review due to symbolics getting a positive review.

Cheers,

Michael

comment:3 Changed 11 years ago by mabshoff

  • Milestone changed from sage-4.0.1 to sage-4.0
  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in Sage 4.0.rc0.

Cheers,

Michael

Note: See TracTickets for help on using tickets.