pass RNG by reference so state is updated on each call
Summary: folly::Random was taking the RNG by value (not reference) so it was not updating the RNG's state on each invocation -- so the RNG would not advance to the next value in the sequence. Reviewed By: yfeldblum, nbronson Differential Revision: D4362999 fbshipit-source-id: f93fc11911b92e230ac0cc2406151474d15f85af
Showing
Please register or sign in to comment