Two integers were passed in the wrong order. I suspect from the
construction of the RNG that the only effect of this is to permit a
rare re-use of a random number in a different RNG stream (i.e. no
effect in practice).
Change-Id: I1fb8eddbe7c8b029dc3686be80f3f083108fc28c
Ek_new = vrescale_resamplekin(Ek, Ek_ref, opts->nrdf[i],
opts->tau_t[i]/dt,
Ek_new = vrescale_resamplekin(Ek, Ek_ref, opts->nrdf[i],
opts->tau_t[i]/dt,
/* Analytically Ek_new>=0, but we check for rounding errors */
if (Ek_new <= 0)
/* Analytically Ek_new>=0, but we check for rounding errors */
if (Ek_new <= 0)