Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit gets stuck without computing anything #3790

Closed
mwhansen opened this issue Aug 7, 2008 · 3 comments
Closed

limit gets stuck without computing anything #3790

mwhansen opened this issue Aug 7, 2008 · 3 comments

Comments

@mwhansen
Copy link
Contributor

mwhansen commented Aug 7, 2008

 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.

Component: calculus

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

@mwhansen
Copy link
Contributor Author

mwhansen commented Aug 7, 2008

comment:1

Attachment: trac_3790.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Aug 8, 2008

comment:2

Patch looks good to me.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Aug 8, 2008

comment:3

Merged in Sage 3.1.alpha1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Aug 8, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant