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

unitful infinite bounds #64

Closed
stevengj opened this issue Jan 17, 2023 · 0 comments · Fixed by #65
Closed

unitful infinite bounds #64

stevengj opened this issue Jan 17, 2023 · 0 comments · Fixed by #65
Labels

Comments

@stevengj
Copy link
Member

Reported by @sosock in PainterQubits/Unitful.jl#597 (comment):

julia> using Unitful, QuadGK

julia> quadgk(x->exp(-x/(1.0u"m")), 0.0u"m", Inf*u"m")
ERROR: DomainError with Inf m:
integrand produced NaN m in the interval (0.0 m, Inf m)
Stacktrace:
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant