Closed vgnecula closed 5 months ago
@vgnecula thanks for this PR!
A general comment is, when you want to change a particular part of the code, just change this one without affecting anything else. Then, it's easier to review the code and be sure about the changes.
Also it seems that you are deleting (by mistake) some crucial parts of the code in sampling.hpp.
Side comment: there is no need to open a new PR every time you want to change something in your branch, just update your branch!
@TolisChal @vfisikop just commited a new version, which adresses all your comments (find it as - minor probem with CRHMC solved - the last version of my new modifications). On my end it passes all tests. However, it takes way too much time to process crhmc_test_polytope_sampling. Besides, as you will probably see, I modified some functions, as I did not like some details that I implemented before.
Modified the sampling.hpp to solve: Inefficient handling of burn in phase in sampling functions #180.
Handling burn in phase without storing the points required for this phase, for each of the sampling methods presented.
Cleared my branch non-related developments in order to emphasize just the sampling.hpp code.