Opened 12 years ago
Closed 12 years ago
#3790 closed defect (fixed)
[with patch, positive review] limit gets stuck without computing anything
Reported by: | mhansen | Owned by: | gfurnish |
---|---|---|---|
Priority: | minor | Milestone: | sage-3.1 |
Component: | calculus | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
I noticed that for some expressions limit() gets stuck and does not return to the sage prompt. It does not seem to be computing anything since the cpu usage is 0. For example in Sage 3.0.6 try: vars('Ax,Bx,By') t = -Ax*sin(sqrt(Ax^2)/2)/(sqrt(Ax^2)*sqrt(By^2 + Bx^2)) t.limit(Ax=0,dir='above') It just sits there. And you need to ctrl-c to get the prompt back. If you set t = -Ax*sin(sqrt(Ax^2)/2)/(sqrt(Ax^2)*sqrt(By^2)) Then do t.limit(Ax=0,dir='above'), you get a message asking if By is zero or nonzero.
Attachments (1)
Change History (4)
Changed 12 years ago by
comment:1 Changed 12 years ago by
- Summary changed from limit gets stuck without computing anything to [with patch, needs review] limit gets stuck without computing anything
comment:2 Changed 12 years ago by
- Summary changed from [with patch, needs review] limit gets stuck without computing anything to [with patch, positive review] limit gets stuck without computing anything
comment:3 Changed 12 years ago by
- Resolution set to fixed
- Status changed from new to closed
Merged in Sage 3.1.alpha1
Note: See
TracTickets for help on using
tickets.
Patch looks good to me.
Cheers,
Michael