Window adaptation did not previously accept an integrator argument, but instead used velocity_verlet. This was restrictive, since a user may want to run NUTS or HMC with a different integrator (such as mclachlan). They can do so, but then cannot use window adaptation. This PR addresses that shortcoming.
Window adaptation did not previously accept an
integrator
argument, but instead usedvelocity_verlet
. This was restrictive, since a user may want to run NUTS or HMC with a different integrator (such asmclachlan
). They can do so, but then cannot use window adaptation. This PR addresses that shortcoming.