Skip to content

Fix inverted accept/reject counts when swapping operator tuning - #33

Open
NicoNeureiter wants to merge 1 commit into
CompEvol:masterfrom
NicoNeureiter:fix-swap-operator-tuning
Open

NicoNeureiter wants to merge 1 commit into
CompEvol:masterfrom
NicoNeureiter:fix-swap-operator-tuning

Conversation

@NicoNeureiter

Copy link
Copy Markdown

swapOperatorTuning passed the second operator's counts to setAcceptedRejected as
(rejected, accepted, ...) instead of (accepted, rejected, ...), inverting the acceptance rate
of one chain's operators after each accepted swap.

I fixed the argument order and put the swap in a small helper function (swapTuning).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant