Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
provide class for suspension of RNG synchronization #862
This PR provides a class,
This tool effectively allows users to opt-in to the 'old' Rcpp RNG behavior by creating an instance of this class where desired. This could be used to fix, for example, eddelbuettel/rcppde#14 (comment).
The intention would be for
FWIW, I tested this fix with a locally built copy of
@@ Coverage Diff @@ ## master #862 +/- ## ========================================= - Coverage 90.46% 90.3% -0.16% ========================================= Files 70 70 Lines 3251 3261 +10 ========================================= + Hits 2941 2945 +4 - Misses 310 316 +6