Closed odstrcilt closed 6 months ago
I think you have to edit the __next__
function in ultranest.dychmc.DynamicCHMCSampler
to add the keyword argument tregion=None
This is precisely what I did, and it works. Can you just change it in DynamicCHMCSampler and DynamicHMCSampler source code in the repository?
If you want to accelerate this, please create a pull request.
I can only make a new branch with forking your project. Since it is so trivial change, it will be much faster if you just do it.
As you can see, I am having trouble finding the time, please help
I'm trying to use DynamicCHMCSampler, but it does not work in the current ultranest version
Here is the code:
It returns the following error:
The issues is here, where the _next function of DynamicCHMCSampler is called with tregion argument https://github.com/JohannesBuchner/UltraNest/blob/77393bf69d5d4f34fbd6641ad22537b10b6e139d/ultranest/integrator.py#L1670
Can you fix it?