You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If crossover_gap in DifferentialEvaluationMetropolisHastings is equal to 0 -- i.e. if the DE-MC algorithm is always used instead of also having normal metropolis steps -- then the sampler attempts the operation generation % crossover_gap which ends up being generation % 0 and you get a divide by zero error.
The text was updated successfully, but these errors were encountered:
I think that the variable is misnamed -- it's the interval, not the gap. If so, then it needs to be a positive number, and we should check that with an assertion.
We should change the name of the variable, as well as update the documentation. I'll get around to it eventually, but at least now you know what you should choose.
If
crossover_gap
inDifferentialEvaluationMetropolisHastings
is equal to 0 -- i.e. if the DE-MC algorithm is always used instead of also having normal metropolis steps -- then the sampler attempts the operationgeneration % crossover_gap
which ends up beinggeneration % 0
and you get a divide by zero error.The text was updated successfully, but these errors were encountered: