Closed segasai closed 3 years ago
I think the volume needs to be computed based on the eigenvalues themselves. That is more precise anyway. I fix that in the patch.
I agree -- looking back, this was a patchwork approach that worked fine in general but was bound to suffer from numerical instability.
In the future I think, it's better to store logs of volumes, but that's beyond this patch.
Agreed. The more things that can be done in logarithms the better.
Hi,
I'm seeing these errors
Withe following variable values from bounding.py: self.vol_tot, vol_tot_orig, expands, self.vols inf inf [1.] [inf]
Digging deeper into this, it could be traced to https://github.com/joshspeagle/dynesty/blob/95d43aa483ff0b058ebba4df04961c198f58d0ba/dynesty/bounding.py#L157 where the volume is computed from the slogdet, while the checks are done based on eigen values
I think the volume needs to be computed based on the eigen values themselves. That is more precise anyway. I fix that in the patch.
In the future I think, it's better to store logs of volumes, but that's beyond this patch.
Cheers, S