JakobRobnik / MicroCanonicalHMC

MCHMC: sampler from an arbitrary differentiable distribution
GNU General Public License v3.0
68 stars 9 forks source link

Broken code fixes #20

Closed reubenharry closed 11 months ago

reubenharry commented 11 months ago

I noticed that the basic sampler wasn't running out of the box (unless I was doing something silly, which is also possible), so I made some minimal code changes to get it running again (although you should let me know if those are ok), and also added a test which runs the sampler, so that if a code change breaks it, the tests will report that in future.

JakobRobnik commented 11 months ago

Thank you for noticing this. Actually, I wanted to remove gna and adaptive option from the main branch for now, but forgot to remove the parameter from the single_chain_sample.