Open mikedeltalima opened 4 years ago
This fixes a warning in an existing test, so I am not going to add a new test unless one is suggested.
src/qinfer/tests/test_smc.py::TestSMCEffectiveSampleSize::test_resample_thresh
/Users/mdlauria/gitSource/python-qinfer/src/qinfer/distributions.py:397: ApproximationWarning: Numerical error in covariance estimation causing positive semidefinite violation.
warnings.warn('Numerical error in covariance estimation causing positive semidefinite violation.', ApproximationWarning)
https://github.com/QInfer/python-qinfer/issues/151
Doesn't fail existing tests, but should add a test for this. Could revert some of the auto-whitespace removal if desired.
Deprecated version of the method in
utils.py
. Should update this as well?