Hi, I just tried to integrate the gaussian using the builtin quadgk but got 
a stackoverflow.

      julia> quadgk(t->exp(-t^2/2), 0,inf)
      ERROR: StackOverflowError:
       in typejoin at ./promotion.jl
       in quadgk at quadgk.jl:169
       in quadgk at quadgk.jl:174 (repeats 12364 times)

I was expecting roughly sqrt(pi/2) as the answer. I am using julia Version 
0.4.0-dev+3622.
The documentation says it is ok to have one of the endpoints of the 
interval infinite.
Is it a bug or do I misunderstand the doc?

Reply via email to