On Fri, Jul 17, 2015 at 6:16 PM, harven <[email protected]> wrote: > 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.
I also just noticed that is is a pretty old version of the 0.4 branch. If you want to use the 0.4 branch, you should probably keep up with the master unless certain packages you need have not been updated yet. Older dev versions might have more bugs and packages that support 0.4 might not have good support for older version even if they are still supporting 0.3 (because they might do `VERSION >= 0.4-dev`) > 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?
