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

hcubature hanging and leaking memory on a simple multivariate normal expectation calculation #7

Closed
bnaras opened this issue Jun 15, 2018 · 1 comment · Fixed by #14

Comments

@bnaras
Copy link

bnaras commented Jun 15, 2018

I got a bug report on my R package from a user and found that hcubature is having trouble with a simple integral of x * f(x) where f is 2-d multivariate normal density.

I provide a reproducible example on my repo

I checked that the problem occurs both on Unix and Mac. Pcubature works nicely though!

@stevengj
Copy link
Owner

stevengj commented Jul 27, 2018

Does HCubature.jl work? Sorry, wrong language! Might be the same problem as was fixed in JuliaMath/HCubature.jl#5 though. Would be nice to apply the same fix to the C cubature routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants